1.1.6.4.2 Transaction Functions
SSC_BaudSet Function
void SSC_BaudSet (const uint32_t baud);
Summary
Changes the baud rate (samples/second) of the interface.
Description
This function changes the baud rate, or samples/second of the interface.
Preconditions
None.
Returns
None.
Remarks
None.
Example
SSC_BaudSet(44100);
C
void SSC_BaudSet(const uint32_t baud);
SSC_LRCLK_Get Function
uint32_t SSC_LRCLK_Get(void);
Summary
Get the level of the I2S LRCLK (left/right clock) signal
Description
This function returns the state of the I2S LRCLK (left/right clock) signal. In the case where this signal is generated from a codec or other external source, this allows the caller to synchronize itself to the LRCLK signal.
Preconditions
None.
Returns
State of the LRCLK pin for the SSC module:
1 if high, 0 if low if the audio format is I2S
And 0 if high, 1 if low if the format is Left Justified
Remarks
None.
Example
SSC_LRCLK_Get();
C
uint32_t SSC_LRCLK_Get();