void SSC_EnableInterrupts(Ssc *ssc, uint32_t sources)
Enables one or more interrupt sources of a SSC peripheral.
Definition: ssc.c:172
void SSC_ConfigureTransmitter(Ssc *ssc, uint32_t tcmr, uint32_t tfmr)
Configures the transmitter of a SSC peripheral.
Definition: ssc.c:113
void SSC_EnableTransmitter(Ssc *ssc)
Enables the transmitter of a SSC peripheral.
Definition: ssc.c:135
uint32_t SSC_Read(Ssc *ssc)
Waits until one frame is received on a SSC peripheral, and returns it.
Definition: ssc.c:204
void SSC_Write(Ssc *ssc, uint32_t frame)
Sends one data frame through a SSC peripheral. If another frame is currently being sent,...
Definition: ssc.c:193
uint8_t SSC_IsRxReady(Ssc *ssc)
Return 1 if one frame is received, 0 otherwise.
Definition: ssc.c:215
void SSC_EnableReceiver(Ssc *ssc)
Enables the receiver of a SSC peripheral.
Definition: ssc.c:153
void SSC_Configure(Ssc *ssc, uint32_t bitRate, uint32_t masterClock)
Configures a SSC peripheral.If the divided clock is not used, the master clock frequency can be set t...
Definition: ssc.c:87
void SSC_ConfigureReceiver(Ssc *ssc, uint32_t rcmr, uint32_t rfmr)
Configures the receiver of a SSC peripheral.
Definition: ssc.c:125
void SSC_DisableInterrupts(Ssc *ssc, uint32_t sources)
Disables one or more interrupt sources of a SSC peripheral.
Definition: ssc.c:182
void SSC_DisableReceiver(Ssc *ssc)
Disables the receiver of a SSC peripheral.
Definition: ssc.c:162
void SSC_DisableTransmitter(Ssc *ssc)
Disables the transmitter of a SSC peripheral.
Definition: ssc.c:144
Ssc hardware registers.
Definition: component_ssc.h:41