/tags/V2.20g/ssc.h |
---|
0,0 → 1,24 |
#ifndef _SSC_H |
#define _SSC_H |
//________________________________________________________________________________________________________________________________________ |
// |
// Functions needed for accessing the sdcard low level via SPI. |
// |
//________________________________________________________________________________________________________________________________________ |
#define SD_SWITCH !(GPIO_ReadBit(GPIO5, GPIO_Pin_3)) |
void SSC_Init(void); |
void SSC_Deinit(void); |
u8 SSC_GetChar (void); |
void SSC_PutChar (u8); |
void SSC_Enable(void); |
void SSC_Disable(void); |
void SSC_ClearRxFifo(void); |
void SSC_Speed(u32); |
extern u16 SPI_Speed; |
#endif //_SSC_H |