LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
app_sdmmc_meas.c File Reference
#include <string.h>
#include "board.h"
#include "chip.h"

Go to the source code of this file.

Macros

#define debugstr(str)   DEBUGSTR(str)
 
#define NUM_SECTORS   2048
 
#define NUM_ITER   10
 
#define START_SECTOR   32
 
#define BUFFER_SIZE   (NUM_SECTORS * MMC_SECTOR_SIZE)
 

Functions

 LOCATE_AT (0x28200000)
 
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 ()
 
static void Prepare_Buffer (uint32_t value)
 
static void print_meas_data (void)
 
void SDIO_IRQHandler (void)
 SDIO controller interrupt handler.
 
int main (void)
 Main routine for SDMMC example.