CLEON  Version 1
Cloud-Offloaded GPS Receiver
sys_mmc.h
Go to the documentation of this file.
1 
7 #ifndef __SYS_MMC_H__
8 #define __SYS_MMC_H__
9 
10 #define SYS_MMC_LED_INDICATION_FOR_ERROR _ENABLE_
11 
12 #define SYS_MMC_IsMicroSDInserted() !((MICROSD_STATUS_PORT(IN) & BV(MICROSD_STATUS_PIN)) >> MICROSD_STATUS_PIN)
13 
14 void SYS_MMC_Init(void);
15 void SYS_MMC_InitIO(void);
16 void SYS_MMC_FastMode(void);
17 void SYS_MMC_ReadFrame(unsigned char* ptrucBuffer, unsigned int uiSize);
18 void SYS_MMC_SendFrame(unsigned char* ptrucBuffer, unsigned int uiSize);
19 void SYS_MMC_DeselectCard(void);
20 void SYS_MMC_SelectCard(void);
21 
22 #endif