![]() |
Infineon MOTIX™ MCU TLE988x/9x Device Family SDK
|
Functions | |
sint8 | UART0_init (void) |
Initialize UART0. More... | |
sint8 | UART1_init (void) |
Initialize UART1. More... | |
uint32 | UART0_getBaudrate (void) |
Get the baudrate for UART0 Transform equation (SCU_fUART_MHz * 1000000 / (16 * (1U << (uint8)UART0->BCON.bit.BR_PRE) * (UART0->BCON.bit.BG_BR_VALUE + (UART0->BCON.bit.BG_FD_SEL / 32)))) to ((SCU_fUART_MHz * 1000000 * 2 ) / ((1U << (uint8)UART0->BCON.bit.BR_PRE) * (32 * UART0->BCON.bit.BG_BR_VALUE + (UART0->BCON.bit.BG_FD_SEL)))) More... | |
uint32 | UART1_getBaudrate (void) |
Get the baudrate for UART1 Transform equation (SCU_fUART_MHz * 1000000 / (16 * (1U << (uint8)UART1->BCON.bit.BR_PRE) * (UART1->BCON.bit.BG_BR_VALUE + (UART1->BCON.bit.BG_FD_SEL / 32)))) to ((SCU_fUART_MHz * 1000000 * 2 ) / ((1U << (uint8)UART1->BCON.bit.BR_PRE) * (32 * UART1->BCON.bit.BG_BR_VALUE + (UART1->BCON.bit.BG_FD_SEL)))) More... | |
sint8 | UART0_setBaudrate (uint32 u32_baudrate) |
Set the baudrate for UART0. More... | |
sint8 | UART1_setBaudrate (uint32 u32_baudrate) |
Set the baudrate for UART1. More... | |
INLINE uint16 | UART0_getRXbuffer (void) |
Get the UART0 RX buffer value. More... | |
INLINE void | UART0_setTXbuffer (uint16 u16_value) |
Set the UART0 TX buffer value. More... | |
INLINE uint16 | UART1_getRXbuffer (void) |
Get the UART1 RX buffer value. More... | |
INLINE void | UART1_setTXbuffer (uint16 u16_value) |
Set the UART1 TX buffer value. More... | |
INLINE bool | UART0_isByteReceived (void) |
Check if UART0 has received a byte. More... | |
INLINE bool | UART0_isByteTransmitted (void) |
Check if UART0 has transmitted a byte. More... | |
INLINE bool | UART1_isByteReceived (void) |
Check if UART1 has received a byte. More... | |
INLINE bool | UART1_isByteTransmitted (void) |
Check if UART1 has transmitted a byte. More... | |
INLINE void | UART0_enBaudrateGen (void) |
Enable the baudrate generator, UART0.BCON.BR_R. More... | |
INLINE void | UART0_disBaudrateGen (void) |
Disable the baudrate generator, UART0.BCON.BR_R. More... | |
INLINE void | UART1_enBaudrateGen (void) |
Enable the baudrate generator, UART1.BCON.BR_R. More... | |
INLINE void | UART1_disBaudrateGen (void) |
Disable the baudrate generator, UART1.BCON.BR_R. More... | |
INLINE void | UART0_startTX (void) |
Start the transmission, UART0.TSTART.TXSTART. More... | |
INLINE void | UART1_startTX (void) |
Start the transmission, UART1.TSTART.TXSTART. More... | |
INLINE void | UART0_enTXInt (void) |
Enable UART0 Transmit Interrupt. More... | |
INLINE void | UART0_enRXErrInt (void) |
Enable UART0 Receive Interrupt. More... | |
INLINE void | UART0_enSyncErrInt (void) |
Enable UART0 Sync Error Interrupt. More... | |
INLINE void | UART0_enEOSInt (void) |
Enable UART0 End of Sync Interrupt. More... | |
INLINE void | UART0_disTXInt (void) |
Disable UART0 Transmit Interrupt. More... | |
INLINE void | UART0_disRXErrInt (void) |
Disable UART0 Receive Interrupt. More... | |
INLINE void | UART0_disSyncErrInt (void) |
Disable UART0 Sync Error Interrupt. More... | |
INLINE void | UART0_disEOSInt (void) |
Disable UART0 End of Sync Interrupt. More... | |
INLINE void | UART1_enTXInt (void) |
Enable UART1 Transmit Interrupt. More... | |
INLINE void | UART1_enRXErrInt (void) |
Enable UART1 Receive Interrupt. More... | |
INLINE void | UART1_enSyncErrInt (void) |
Enable UART1 Sync Error Interrupt. More... | |
INLINE void | UART1_enEOSInt (void) |
Enable UART1 End of Sync Interrupt. More... | |
INLINE void | UART1_disTXInt (void) |
Disable UART1 Transmit Interrupt. More... | |
INLINE void | UART1_disRXErrInt (void) |
Disable UART1 Receive Interrupt. More... | |
INLINE void | UART1_disSyncErrInt (void) |
Disable UART1 Sync Error Interrupt. More... | |
INLINE void | UART1_disEOSInt (void) |
Disable UART1 End of Sync Interrupt. More... | |
INLINE uint8 | UART0_getTXIntSts (void) |
Get the UART0 Empty Transmit Buffer Interrupt Status, UART0.IS.TI. More... | |
INLINE uint8 | UART0_getRXIntSts (void) |
Get the UART0 Empty Receive Buffer Interrupt Status, UART0.IS.RI. More... | |
INLINE uint8 | UART0_getSyncErrIntSts (void) |
Get the UART0 Sync Error Interrupt Status, UART0.IS.ERRSYN. More... | |
INLINE uint8 | UART0_getEOFIntSts (void) |
Get the UART0 End of Sync Interrupt Status, UART0.IS.EOFSYN. More... | |
INLINE void | UART0_clrTXIntSts (void) |
Clear the UART0 Empty Transmit Buffer Interrupt Status, UART0.ISC.TICLR. More... | |
INLINE void | UART0_clrRXIntSts (void) |
Clear the UART0 Empty Receive Buffer Interrupt Status, UART0.ISC.RICLR. More... | |
INLINE void | UART0_clrSyncErrIntSts (void) |
Clear the UART0 Sync Error Interrupt Status, UART0.ISC.ERRSYNCLR. More... | |
INLINE void | UART0_clrEOFIntSts (void) |
Clear the UART0 End of Sync Interrupt Status, UART0.ISC.EOFSYNCLR. More... | |
INLINE uint8 | UART1_getTXIntSts (void) |
Get the UART1 Empty Transmit Buffer Interrupt Status, UART1.IS.TI. More... | |
INLINE uint8 | UART1_getRXIntSts (void) |
Get the UART1 Empty Receive Buffer Interrupt Status, UART1.IS.RI. More... | |
INLINE uint8 | UART1_getSyncErrIntSts (void) |
Get the UART1 Sync Error Interrupt Status, UART1.IS.ERRSYN. More... | |
INLINE uint8 | UART1_getEOFIntSts (void) |
Get the UART1 End of Sync Interrupt Status, UART1.IS.EOFSYN. More... | |
INLINE void | UART1_clrTXIntSts (void) |
Clear the UART1 Empty Transmit Buffer Interrupt Status, UART1.ISC.TICLR. More... | |
INLINE void | UART1_clrRXIntSts (void) |
Clear the UART1 Empty Receive Buffer Interrupt Status, UART1.ISC.RICLR. More... | |
INLINE void | UART1_clrSyncErrIntSts (void) |
Clear the UART1 Sync Error Interrupt Status, UART1.ISC.ERRSYNCLR. More... | |
INLINE void | UART1_clrEOFIntSts (void) |
Clear the UART1 End of Sync Interrupt Status, UART1.ISC.EOFSYNCLR. More... | |
void | UART0_setTXIntSts (void) __attribute__((deprecated("Do not change this at runtime |
Set UART0 TX Interrupt Node Pointer. More... | |
void | UART0_setRXIntSts (void) __attribute__((deprecated("Do not change this at runtime |
Set UART0 RX Interrupt Node Pointer. More... | |
void | UART0_setSyncErrIntSts (void) __attribute__((deprecated("Do not change this at runtime |
Set UART0 Sync Error Interrupt Node Pointer. More... | |
void | UART0_setEOFIntSts (void) __attribute__((deprecated("Do not change this at runtime |
Set UART0 End Of Sync Interrupt Node Pointer. More... | |
void | UART1_setTXIntSts (void) __attribute__((deprecated("Do not change this at runtime |
Set UART1 TX Interrupt Node Pointer. More... | |
void | UART1_setRXIntSts (void) __attribute__((deprecated("Do not change this at runtime |
Set UART1 RX Interrupt Node Pointer. More... | |
void | UART1_setSyncErrIntSts (void) __attribute__((deprecated("Do not change this at runtime |
Set UART1 Sync Error Interrupt Node Pointer. More... | |
void | UART1_setEOFIntSts (void) __attribute__((deprecated("Do not change this at runtime |
Set UART1 End Of Sync Interrupt Node Pointer. More... | |
Variables | |
void use the ConfigWizard to configure this | feature |
INLINE void UART0_clrEOFIntSts | ( | void | ) |
Clear the UART0 End of Sync Interrupt Status, UART0.ISC.EOFSYNCLR.
INLINE void UART0_clrRXIntSts | ( | void | ) |
Clear the UART0 Empty Receive Buffer Interrupt Status, UART0.ISC.RICLR.
INLINE void UART0_clrSyncErrIntSts | ( | void | ) |
Clear the UART0 Sync Error Interrupt Status, UART0.ISC.ERRSYNCLR.
INLINE void UART0_clrTXIntSts | ( | void | ) |
Clear the UART0 Empty Transmit Buffer Interrupt Status, UART0.ISC.TICLR.
INLINE void UART0_disBaudrateGen | ( | void | ) |
Disable the baudrate generator, UART0.BCON.BR_R.
INLINE void UART0_disEOSInt | ( | void | ) |
Disable UART0 End of Sync Interrupt.
INLINE void UART0_disRXErrInt | ( | void | ) |
Disable UART0 Receive Interrupt.
INLINE void UART0_disSyncErrInt | ( | void | ) |
Disable UART0 Sync Error Interrupt.
INLINE void UART0_disTXInt | ( | void | ) |
Disable UART0 Transmit Interrupt.
INLINE void UART0_enBaudrateGen | ( | void | ) |
Enable the baudrate generator, UART0.BCON.BR_R.
INLINE void UART0_enEOSInt | ( | void | ) |
Enable UART0 End of Sync Interrupt.
INLINE void UART0_enRXErrInt | ( | void | ) |
Enable UART0 Receive Interrupt.
INLINE void UART0_enSyncErrInt | ( | void | ) |
Enable UART0 Sync Error Interrupt.
INLINE void UART0_enTXInt | ( | void | ) |
Enable UART0 Transmit Interrupt.
uint32 UART0_getBaudrate | ( | void | ) |
Get the baudrate for UART0 Transform equation (SCU_fUART_MHz * 1000000 / (16 * (1U << (uint8)UART0->BCON.bit.BR_PRE) * (UART0->BCON.bit.BG_BR_VALUE + (UART0->BCON.bit.BG_FD_SEL / 32)))) to ((SCU_fUART_MHz * 1000000 * 2 ) / ((1U << (uint8)UART0->BCON.bit.BR_PRE) * (32 * UART0->BCON.bit.BG_BR_VALUE + (UART0->BCON.bit.BG_FD_SEL))))
Get the UART0 End of Sync Interrupt Status, UART0.IS.EOFSYN.
Get the UART0 RX buffer value.
Get the UART0 Empty Receive Buffer Interrupt Status, UART0.IS.RI.
Get the UART0 Sync Error Interrupt Status, UART0.IS.ERRSYN.
Get the UART0 Empty Transmit Buffer Interrupt Status, UART0.IS.TI.
sint8 UART0_init | ( | void | ) |
Initialize UART0.
Check if UART0 has received a byte.
Check if UART0 has transmitted a byte.
Set the baudrate for UART0.
u32_baudrate | baudrate |
void UART0_setEOFIntSts | ( | void | ) |
Set UART0 End Of Sync Interrupt Node Pointer.
void UART0_setRXIntSts | ( | void | ) |
Set UART0 RX Interrupt Node Pointer.
void UART0_setSyncErrIntSts | ( | void | ) |
Set UART0 Sync Error Interrupt Node Pointer.
Set the UART0 TX buffer value.
u16_value | UART0 TX buffer |
void UART0_setTXIntSts | ( | void | ) |
Set UART0 TX Interrupt Node Pointer.
INLINE void UART0_startTX | ( | void | ) |
Start the transmission, UART0.TSTART.TXSTART.
INLINE void UART1_clrEOFIntSts | ( | void | ) |
Clear the UART1 End of Sync Interrupt Status, UART1.ISC.EOFSYNCLR.
INLINE void UART1_clrRXIntSts | ( | void | ) |
Clear the UART1 Empty Receive Buffer Interrupt Status, UART1.ISC.RICLR.
INLINE void UART1_clrSyncErrIntSts | ( | void | ) |
Clear the UART1 Sync Error Interrupt Status, UART1.ISC.ERRSYNCLR.
INLINE void UART1_clrTXIntSts | ( | void | ) |
Clear the UART1 Empty Transmit Buffer Interrupt Status, UART1.ISC.TICLR.
INLINE void UART1_disBaudrateGen | ( | void | ) |
Disable the baudrate generator, UART1.BCON.BR_R.
INLINE void UART1_disEOSInt | ( | void | ) |
Disable UART1 End of Sync Interrupt.
INLINE void UART1_disRXErrInt | ( | void | ) |
Disable UART1 Receive Interrupt.
INLINE void UART1_disSyncErrInt | ( | void | ) |
Disable UART1 Sync Error Interrupt.
INLINE void UART1_disTXInt | ( | void | ) |
Disable UART1 Transmit Interrupt.
INLINE void UART1_enBaudrateGen | ( | void | ) |
Enable the baudrate generator, UART1.BCON.BR_R.
INLINE void UART1_enEOSInt | ( | void | ) |
Enable UART1 End of Sync Interrupt.
INLINE void UART1_enRXErrInt | ( | void | ) |
Enable UART1 Receive Interrupt.
INLINE void UART1_enSyncErrInt | ( | void | ) |
Enable UART1 Sync Error Interrupt.
INLINE void UART1_enTXInt | ( | void | ) |
Enable UART1 Transmit Interrupt.
uint32 UART1_getBaudrate | ( | void | ) |
Get the baudrate for UART1 Transform equation (SCU_fUART_MHz * 1000000 / (16 * (1U << (uint8)UART1->BCON.bit.BR_PRE) * (UART1->BCON.bit.BG_BR_VALUE + (UART1->BCON.bit.BG_FD_SEL / 32)))) to ((SCU_fUART_MHz * 1000000 * 2 ) / ((1U << (uint8)UART1->BCON.bit.BR_PRE) * (32 * UART1->BCON.bit.BG_BR_VALUE + (UART1->BCON.bit.BG_FD_SEL))))
Get the UART1 End of Sync Interrupt Status, UART1.IS.EOFSYN.
Get the UART1 RX buffer value.
Get the UART1 Empty Receive Buffer Interrupt Status, UART1.IS.RI.
Get the UART1 Sync Error Interrupt Status, UART1.IS.ERRSYN.
Get the UART1 Empty Transmit Buffer Interrupt Status, UART1.IS.TI.
sint8 UART1_init | ( | void | ) |
Initialize UART1.
Check if UART1 has received a byte.
Check if UART1 has transmitted a byte.
Set the baudrate for UART1.
u32_baudrate | baudrate |
void UART1_setEOFIntSts | ( | void | ) |
Set UART1 End Of Sync Interrupt Node Pointer.
void UART1_setRXIntSts | ( | void | ) |
Set UART1 RX Interrupt Node Pointer.
void UART1_setSyncErrIntSts | ( | void | ) |
Set UART1 Sync Error Interrupt Node Pointer.
Set the UART1 TX buffer value.
u16_value | UART1 TX buffer |
void UART1_setTXIntSts | ( | void | ) |
Set UART1 TX Interrupt Node Pointer.
INLINE void UART1_startTX | ( | void | ) |
Start the transmission, UART1.TSTART.TXSTART.
void use the ConfigWizard to configure this feature |