Download Stellaris Peripheral Driver Library User's Guide

Transcript
Synchronous Serial Interface (SSI)
23.2.2.2 SSIClockSourceGet
Gets the data clock source for the specified SSI peripheral.
Prototype:
unsigned long
SSIClockSourceGet(unsigned long ulBase)
Parameters:
ulBase is the base address of the SSI port.
Description:
This function returns the data clock source for the specified SSI. The possible data clock
source are the system clock (SSI_CLOCK_SYSTEM) or the precision internal oscillator
(SSI_CLOCK_PIOSC).
Note:
The ability to specify the SSI data clock source varies with the Stellaris part and SSI in use.
Please consult the data sheet for the part you are using to determine whether this support is
available.
Returns:
None.
23.2.2.3 SSIClockSourceSet
Sets the data clock source for the specified SSI peripheral.
Prototype:
void
SSIClockSourceSet(unsigned long ulBase,
unsigned long ulSource)
Parameters:
ulBase is the base address of the SSI port.
ulSource 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.
Note:
The ability to specify the SSI baud clock source varies with the Stellaris part and SSI in use.
Please consult the data sheet for the part you are using to determine whether this support is
available.
Returns:
None.
September 09, 2011
331