spid.h
Default mainpageat91libmemoriesspi-flashspid.h
Description Overview
Classes Brief description
 _SpidCmd Spi Transfer Request prepared by the application upper layer.
 Spid Constant structure associated with SPI port.
Methods  
 SPID_Configure Initializes the Spid structure and the corresponding SPI hardware.
 SPID_ConfigureCS Configures the parameters for the device corresponding to the cs.
 SPID_Handler The SPI_Handler must be called by the SPI Interrupt Service Routine with the corresponding Spi instance.
 SPID_IsBusy Returns 1 if the SPI driver is currently busy executing a command; otherwise returns 0.
 SPID_SendCommand Starts a SPI master transfer.
Macros  
 SPID_CSR_SCBR Calculates the value of the SCBR field of the Chip Select Register given MCK and SPCK.
Defines  
 SPID_ERROR An unspecified error has occured.
 SPID_ERROR_LOCK SPI driver is currently in use.
Types  
 SpidCallback SPI transfer complete callback.
 SpidCmd Spi Transfer Request prepared by the application upper layer.