SPID_SendCommand
Default mainpageat91libmemoriesspi-flashSPID_SendCommand
Description Source Call Graph
SPID_SendCommand
Starts a SPI master transfer.
 
Syntax / parameters
unsigned char SPID_SendCommand (Spid *pSpid, SpidCmd *pCommand)

Name Type Default Description
pSpid Spid *
  Pointer to a Spid instance.
pCommand SpidCmd *
  Pointer to the SPI command to execute.
 
Return value unsigned char
   
Description
Starts a SPI master transfer.
This is a non blocking function. It will return as soon as the transfer is started. Returns 0 if the transfer has been started successfully; otherwise returns SPID_ERROR_LOCK is the driver is in use, or SPID_ERROR if the command is not valid.
 
Source
The documentation for this Member was generated from the following files:
  • spid.c