RL-ARM User's Guide

SPI Driver Routines

SPI driver routines are the functions to communicate with a memory card or SPI data Flash device. The SPI interface routines are not reentrant.

RoutineDescription
InitInitializes the SPI controller.
UnInitUninitializes the SPI controller.
SendSend and receive a byte over the SPI interface.
SendBufSends a block of data to the SPI interface.
RecBufReceives a block of data from the SPI interface.
BusSpeedSet the desired baud rate speed for the SPI interface.
SetSSEnables or disables SPI Slave Select signal.
CheckMediaChecks the SD/MMC media status (Card Inserted, Write Protected).