![]() |
TLE986x Device Family SDK
|
Go to the source code of this file.
High-Speed Synchronous Serial Interface low level access library.
Macros | |
#define | SSC1_tBit_us (1.0 / (SSC1_MAN_BAUDRATE / 1000.0)) |
SSC1 Manual Baudrate. More... | |
#define | SSC2_tBit_us (1.0 / (SSC2_MAN_BAUDRATE / 1000.0)) |
SSC2 Manual Baudrate. More... | |
Functions | |
INLINE void | SSC1_TX_Int_Clr (void) |
clears transmit interrupt flag for SSC1. More... | |
INLINE void | SSC1_RX_Int_Clr (void) |
clears receive interrupt flag for SSC1. More... | |
INLINE void | SSC1_Err_Int_Clr (void) |
clears error interrupt flag for SSC1. More... | |
INLINE void | SSC2_TX_Int_Clr (void) |
clears transmit interrupt flag for SSC2. More... | |
INLINE void | SSC2_RX_Int_Clr (void) |
clears receive interrupt flag for SSC2. More... | |
INLINE void | SSC2_Err_Int_Clr (void) |
clears error interrupt flag for SSC2. More... | |
INLINE void | SSC1_TX_Int_En (void) |
enables transmit interrupt for SSC1. More... | |
INLINE void | SSC1_TX_Int_Dis (void) |
disables transmit interrupt for SSC1. More... | |
INLINE void | SSC1_RX_Int_En (void) |
enables receive interrupt for SSC1. More... | |
INLINE void | SSC1_RX_Int_Dis (void) |
disables receive interrupt for SSC1. More... | |
INLINE void | SSC1_Err_Int_En (void) |
enables error interrupt for SSC1. More... | |
INLINE void | SSC1_Err_Int_Dis (void) |
disables error interrupt for SSC1. More... | |
INLINE void | SSC2_TX_Int_En (void) |
enables transmit interrupt for SSC2. More... | |
INLINE void | SSC2_TX_Int_Dis (void) |
disables transmit interrupt for SSC2. More... | |
INLINE void | SSC2_RX_Int_En (void) |
enables receive interrupt for SSC2. More... | |
INLINE void | SSC2_RX_Int_Dis (void) |
disables receive interrupt for SSC2. More... | |
INLINE void | SSC2_Err_Int_En (void) |
enables error interrupt for SSC2. More... | |
INLINE void | SSC2_Err_Int_Dis (void) |
disables error interrupt for SSC2. More... | |
void | SSC1_Init (void) |
Initializes the SSC1 module. More... | |
void | SSC2_Init (void) |
Initializes the SSC2 module. More... | |
INLINE uint16 | SSC1_SendWord (uint16 DataWord) |
SSC1: Send data word. More... | |
INLINE uint16 | SSC1_ReadWord (void) |
SSC1: Read data word from receive buffer. More... | |
INLINE uint16 | SSC2_SendWord (uint16 DataWord) |
SSC2: Send data word. More... | |
INLINE uint16 | SSC2_ReadWord (void) |
SSC2: Read data word from receive buffer. More... | |
#define SSC1_tBit_us (1.0 / (SSC1_MAN_BAUDRATE / 1000.0)) |
SSC1 Manual Baudrate.
#define SSC2_tBit_us (1.0 / (SSC2_MAN_BAUDRATE / 1000.0)) |
SSC2 Manual Baudrate.
INLINE void SSC1_Err_Int_Clr | ( | void | ) |
clears error interrupt flag for SSC1.
Example
This example treats the error interrupt for SSC1.
INLINE void SSC1_Err_Int_Dis | ( | void | ) |
disables error interrupt for SSC1.
Example
This example treats the error interrupt for SSC1.
INLINE void SSC1_Err_Int_En | ( | void | ) |
enables error interrupt for SSC1.
Example
This example treats the error interrupt for SSC1.
void SSC1_Init | ( | void | ) |
Initializes the SSC1 module.
SSC1: Read data word from receive buffer.
Example
This example receives data with SSC1.
INLINE void SSC1_RX_Int_Clr | ( | void | ) |
clears receive interrupt flag for SSC1.
Example
This example treats the receive interrupt for SSC1.
INLINE void SSC1_RX_Int_Dis | ( | void | ) |
disables receive interrupt for SSC1.
Example
This example treats the receive interrupt for SSC1.
INLINE void SSC1_RX_Int_En | ( | void | ) |
enables receive interrupt for SSC1.
Example
This example treats the receive interrupt for SSC1.
SSC1: Send data word.
DataWord | Data to send |
Example
This example sends "A" with SSC1 and reads the received data.
INLINE void SSC1_TX_Int_Clr | ( | void | ) |
clears transmit interrupt flag for SSC1.
Example
This example treats the transmit interrupt for SSC1.
INLINE void SSC1_TX_Int_Dis | ( | void | ) |
disables transmit interrupt for SSC1.
Example
This example treats thd transmit interrupt for SSC1.
INLINE void SSC1_TX_Int_En | ( | void | ) |
enables transmit interrupt for SSC1.
Example
This example treats thd transmit interrupt for SSC1.
INLINE void SSC2_Err_Int_Clr | ( | void | ) |
clears error interrupt flag for SSC2.
Example
This example treats the error interrupt for SSC2.
INLINE void SSC2_Err_Int_Dis | ( | void | ) |
disables error interrupt for SSC2.
Example
This example treats the error interrupt for SSC2.
INLINE void SSC2_Err_Int_En | ( | void | ) |
enables error interrupt for SSC2.
Example
This example treats the error interrupt for SSC2.
void SSC2_Init | ( | void | ) |
Initializes the SSC2 module.
SSC2: Read data word from receive buffer.
Example
This example receives data with SSC2.
INLINE void SSC2_RX_Int_Clr | ( | void | ) |
clears receive interrupt flag for SSC2.
Example
This example treats the receive interrupt for SSC2.
INLINE void SSC2_RX_Int_Dis | ( | void | ) |
disables receive interrupt for SSC2.
Example
This example treats the receive interrupt for SSC2.
INLINE void SSC2_RX_Int_En | ( | void | ) |
enables receive interrupt for SSC2.
Example
This example treats the receive interrupt for SSC2.
SSC2: Send data word.
DataWord | Data to send |
Example
This example sends "A" with SSC2 and reads the received data.
INLINE void SSC2_TX_Int_Clr | ( | void | ) |
clears transmit interrupt flag for SSC2.
Example
This example treats thd transmit interrupt for SSC2.
INLINE void SSC2_TX_Int_Dis | ( | void | ) |
disables transmit interrupt for SSC2.
Example
This example treats thd transmit interrupt for SSC2.
INLINE void SSC2_TX_Int_En | ( | void | ) |
enables transmit interrupt for SSC2.
Example
This example treats thd transmit interrupt for SSC2.