Purpose
This file contains all the specific code for the basic-sd-spi-project
Contents
The basic-sd-spi-project application can be roughly broken down as follows:
- Optional functions
- Interrupt handlers
- Debug functions
- The main function, which implements the program behavior
- I/O configuration
- sd card auto-detect and check whether sd card is write-protected (if supported)
- Initialize SPI interface and installing an isr relating to SPI
- Initialize sdcard with sdspi interface, get necessary sdcard's parameters
- write/read multiple blocks once and print the result to DBGU
- write/read single block once