The SSC driver provides the interface to configure and use the SSC peripheral.
!Usage
- Enable the SSC interface pins.
- Configure the SSC to operate at a specific frequency by calling SSC_Configure(). This function enables the peripheral clock of the SSC, but not its PIOs.
- Configure the transmitter and/or the receiver using the SSC_ConfigureTransmitter() and SSC_ConfigureEmitter() functions.
- Enable the PIOs or the transmitter and/or the received.
- Enable the transmitter and/or the receiver using SSC_EnableTransmitter() and SSC_EnableReceiver()
- Send data through the transmitter using SSC_Write()
- Receive data from the receiver using SSC_Read()
- Disable the transmitter and/or the receiver using SSC_DisableTransmitter() and SSC_DisableReceiver()
For more accurate information, please look at the SSC section of the Datasheet.
Related files :
ssc.c
ssc.h.