#include "board.h"
#include "libsdmmc.h"
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
Go to the source code of this file.
Detailed Description
Purpose
This file contains all the specific code for the hsmci_sdcard example.
Contents
The hsmci_sdio application can be roughly broken down as follows:
- Optional functions
- CardDetectConfigure
- CardIsConnected
- Interrupt handlers
- The main function, which implements the program behaviour
- I/O configuration
- SD card auto-detect (if supported)
- Initialize MCI interface and installing an isr relating to MCI
- Initialize sdcard, get necessary sdcard's parameters
- Test RW_DIRECT and RW_EXTENDED at SDIO CIA area.
Definition in file main.c.
Function Documentation
SDCard driver instance. SD card pins instance.
Date buffer MCI interrupt handler. Forwards the event to the MCI driver handlers.
Definition at line 149 of file main.c.
hsmci_sdcard Application entry point.
- Returns:
- Unused (ANSI-C compatibility).
Definition at line 510 of file main.c.