Subversion Repositories NaviCtrl

Rev

Rev 41 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 41 Rev 379
1
#ifndef _SSC_H
1
#ifndef _SSC_H
2
#define _SSC_H
2
#define _SSC_H
3
 
3
 
4
 
4
 
5
//________________________________________________________________________________________________________________________________________
5
//________________________________________________________________________________________________________________________________________
6
// 
6
// 
7
// Functions needed for accessing the sdcard low level via SPI.
7
// Functions needed for accessing the sdcard low level via SPI.
8
//                              
8
//                              
9
//________________________________________________________________________________________________________________________________________
9
//________________________________________________________________________________________________________________________________________
10
 
10
 
11
#define SD_SWITCH !(GPIO_ReadBit(GPIO5, GPIO_Pin_3))
11
#define SD_SWITCH !(GPIO_ReadBit(GPIO5, GPIO_Pin_3))
12
 
12
 
13
void SSC_Init(void);
13
void SSC_Init(void);
14
void SSC_Deinit(void);
14
void SSC_Deinit(void);
15
u8       SSC_GetChar (void);
15
u8       SSC_GetChar (void);
16
void SSC_PutChar (u8);
16
void SSC_PutChar (u8);
17
void SSC_Enable(void);
17
void SSC_Enable(void);
18
void SSC_Disable(void);  
18
void SSC_Disable(void);  
19
void SSC_ClearRxFifo(void);
19
void SSC_ClearRxFifo(void);
20
 
-
 
-
 
20
void SSC_Speed(u32);
21
 
21
 
22
#endif //_SSC_H
22
#endif //_SSC_H
23
 
23