![]() |
PDL for FM4
Version1.2
Peripheral Driverl Library for FM4
|

Go to the source code of this file.
Macros | |
| #define | SD_DLY_1UNIT 8000 |
Functions | |
| static void | SdDly_1unit (uint32_t u32Delay) |
| Sd card delay function. More... | |
| boolean_t | Sdcard_Detect (void) |
| detect SD More... | |
| int32_t | Sdcard_Init (stc_sdcard_info_t *pstcSdcardReg) |
| SD card initialization. More... | |
| int32_t | Sdcard_ReadSector (stc_sdcard_info_t *pstcSdcardInfo, uint32_t u32Start, uint16_t u16Count, uint8_t *pu8Buf) |
| read one or multiple sectors of data More... | |
| int32_t | Sdcard_WriteSector (stc_sdcard_info_t *pstcSdcardInfo, uint32_t u32Start, uint16_t u16Count, const uint8_t *pu8Buf) |
| write data into the SD card More... | |
Variables | |
| static uint32_t | m_u32NumSector |
History:
Definition in file sdcard.c.