Subversion Repositories NaviCtrl

Rev

Rev 379 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

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