|
CLEON
Version 1
Cloud-Offloaded GPS Receiver
|
Micro SD card related functions. More...

Go to the source code of this file.
Macros | |
| #define | SYS_MMC_LED_INDICATION_FOR_ERROR _ENABLE_ |
| #define | SYS_MMC_IsMicroSDInserted() !((MICROSD_STATUS_PORT(IN) & BV(MICROSD_STATUS_PIN)) >> MICROSD_STATUS_PIN) |
Functions | |
| void | SYS_MMC_Init (void) |
| Initializing microcontroller. | |
| void | SYS_MMC_InitIO (void) |
| Initializing Micro SD interface pins. | |
| void | SYS_MMC_FastMode (void) |
| Enable fast SD card SPI transfer. | |
| void | SYS_MMC_ReadFrame (unsigned char *ptrucBuffer, unsigned int uiSize) |
| Read a frame of bytes via SPI. | |
| void | SYS_MMC_SendFrame (unsigned char *ptrucBuffer, unsigned int uiSize) |
| Send a frame of bytes via SPI. | |
| void | SYS_MMC_DeselectCard (void) |
| Set the SD Card's chip-select signal to high. | |
| void | SYS_MMC_SelectCard (void) |
| Set the SD Card's chip-select signal to low. | |
Micro SD card related functions.
Definition in file sys_mmc.h.
| #define SYS_MMC_IsMicroSDInserted | ( | ) | !((MICROSD_STATUS_PORT(IN) & BV(MICROSD_STATUS_PIN)) >> MICROSD_STATUS_PIN) |
| void SYS_MMC_DeselectCard | ( | void | ) |
Set the SD Card's chip-select signal to high.
| void |
| void SYS_MMC_FastMode | ( | void | ) |
| void SYS_MMC_Init | ( | void | ) |
Initializing microcontroller.
| void |
Definition at line 28 of file sys_mmc.c.


| void SYS_MMC_InitIO | ( | void | ) |
| void SYS_MMC_ReadFrame | ( | unsigned char * | ptrucBuffer, |
| unsigned int | uiSize | ||
| ) |
Read a frame of bytes via SPI.
| ptrucBuffer | - Place to store the received bytes |
| uiSize | - Indicator of how many bytes to read |
Definition at line 116 of file sys_mmc.c.
| void SYS_MMC_SelectCard | ( | void | ) |
Set the SD Card's chip-select signal to low.
| void |
| void SYS_MMC_SendFrame | ( | unsigned char * | ptrucBuffer, |
| unsigned int | uiSize | ||
| ) |
Send a frame of bytes via SPI.
| ptrucBuffer | - Place that holds the bytes to send |
| uiSize | - Indicator of how many bytes to send |
Definition at line 144 of file sys_mmc.c.