CLEON
Version 1
Cloud-Offloaded GPS Receiver
|
Micro SD card related functions. More...
#include "cleon_conf.h"
#include "app_define.h"
#include "sys_define.h"
#include "hal_define.h"
#include "fs_define.h"
Go to the source code of this file.
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. | |
Variables | |
FATFS | Fatfs |
FIL | fileObject |
bool | bFLAG_MicroSDInserted = _CLEAR_ |
Micro SD card related functions.
Definition in file sys_mmc.c.
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.