RTEMS: Working with SSC

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Working with SSC
Board Support Packages » ARM » Atmel/Microchip SAM E70, S70, V70 and V71 » Contributed Code

The SSC driver provides the interface to configure and use the SSC peripheral.

!Usage

1. Enable the SSC interface pins.
2. 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.
3. Configure the transmitter and/or the receiver using the SSC_ConfigureTransmitter() and SSC_ConfigureEmitter() functions.
4. Enable the PIOs or the transmitter and/or the received.
5. Enable the transmitter and/or the receiver using SSC_EnableTransmitter() and SSC_EnableReceiver()
6. Send data through the transmitter using SSC_Write()
7. Receive data from the receiver using SSC_Read()
8. 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.