| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
sdmmc.c File Reference
`#include <string.h>`
`#include "board.h"`
`#include "chip.h"`
`#include "rtc.h"`
`#include "ff.h"`

Go to the source code of this file.

## Macros
#define | debugstr(str) DEBUGSTR(str)
#define | BUFFER_SIZE 4096

## Functions
static void | sdmmc_waitms (uint32_t time)
static void | sdmmc_setup_wakeup (void *bits)
| Sets up the SD event driven wakeup.
static uint32_t | sdmmc_irq_driven_wait (void)
| A better wait callback for SDMMC driven by the IRQ flag.
static void | App_SDMMC_Init ()
void | die (FRESULT rc)
| Error processing function: stop with dying message.
void | SDIO_IRQHandler (void)
| SDIO controller interrupt handler.
int | main (void)
| Main routine for SDMMC example.

## Variables
static FATFS | Fatfs
static FIL | Fil
static uint32_t | Buff [BUFFER_SIZE/sizeof(uint32_t)]
static volatile UINT | Timer = 0
static volatile int32_t | sdio_wait_exit = 0
mci_card_struct | sdcardinfo