Synchronous Serial Interface (SSI)
Returns:
None.
17.2.1.3 ROM_SSIClockSourceSet
Sets the data clock source for the specified SSI peripheral.
Prototype:
void
ROM_SSIClockSourceSet(uint32_t ui32Base,
uint32_t ui32Source)
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_SSIClockSourceSet is a function pointer located at ROM_SSITABLE[16].
Parameters:
ui32Base is the base address of the SSI port.
ui32Source is the baud clock source for the SSI.
Description:
This function allows the baud clock source for the SSI to be selected. The possible clock
source are the system clock (SSI_CLOCK_SYSTEM) or the precision internal oscillator
(SSI_CLOCK_PIOSC).
Changing the baud clock source will change the data rate generated by the SSI. Therefore, the
data rate should be reconfigured after any change to the SSI clock source.
Returns:
None.
17.2.1.4 ROM_SSIConfigSetExpClk
Configures the synchronous serial interface.
Prototype:
void
ROM_SSIConfigSetExpClk(uint32_t ui32Base,
uint32_t ui32SSIClk,
uint32_t ui32Protocol,
uint32_t ui32Mode,
uint32_t ui32BitRate,
uint32_t ui32DataWidth)
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_SSIConfigSetExpClk is a function pointer located at ROM_SSITABLE[1].
Parameters:
ui32Base specifies the SSI module base address.
April 8, 2013 187