Synchronous Serial Interface (SSI)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_SSITABLE is an array of pointers located at ROM_APITABLE[2].
ROM_SSIDataGet is a function pointer located at ROM_SSITABLE[9].
Parameters:
ui32Base specifies the SSI module base address.
pui32Data is a pointer to a storage location for data that was received over the SSI interface.
Description:
This function gets received data from the receive FIFO of the specified SSI module and places
that data into the location specified by the pui32Data parameter.
Note:
Only the lower N bits of the value written to pui32Data contain valid data, where N is the data
width as configured by ROM_SSIConfigSetExpClk(). For example, if the interface is configured
for 8-bit data width, only the lower 8 bits of the value written to pui32Data contain valid data.
Returns:
None.
17.2.1.6 ROM_SSIDataGetNonBlocking
Gets a data element from the SSI receive FIFO.
Prototype:
int32_t
ROM_SSIDataGetNonBlocking(uint32_t ui32Base,
uint32_t
*
pui32Data)
ROM Location:
ROM_APITABLE is an array of pointers located at 0x0100.0010.
ROM_SSITABLE is an array of pointers located at ROM_APITABLE[2].
ROM_SSIDataGetNonBlocking is a function pointer located at ROM_SSITABLE[10].
Parameters:
ui32Base specifies the SSI module base address.
pui32Data is a pointer to a storage location for data that was received over the SSI interface.
Description:
This function gets received data from the receive FIFO of the specified SSI module and places
that data into the location specified by the ui32Data parameter. If there is no data in the FIFO,
then this function returns a zero.
Note:
Only the lower N bits of the value written to pui32Data contain valid data, where N is the data
width as configured by ROM_SSIConfigSetExpClk(). For example, if the interface is configured
for 8-bit data width, only the lower 8 bits of the value written to pui32Data contain valid data.
Returns:
Returns the number of elements read from the SSI receive FIFO.
April 8, 2013 189