|
#define | US_CR_RSTRX (0x1u << 2) |
| (US_CR) Reset Receiver
|
|
#define | US_CR_RSTTX (0x1u << 3) |
| (US_CR) Reset Transmitter
|
|
#define | US_CR_RXEN (0x1u << 4) |
| (US_CR) Receiver Enable
|
|
#define | US_CR_RXDIS (0x1u << 5) |
| (US_CR) Receiver Disable
|
|
#define | US_CR_TXEN (0x1u << 6) |
| (US_CR) Transmitter Enable
|
|
#define | US_CR_TXDIS (0x1u << 7) |
| (US_CR) Transmitter Disable
|
|
#define | US_CR_RSTSTA (0x1u << 8) |
| (US_CR) Reset Status Bits
|
|
#define | US_CR_STTBRK (0x1u << 9) |
| (US_CR) Start Break
|
|
#define | US_CR_STPBRK (0x1u << 10) |
| (US_CR) Stop Break
|
|
#define | US_CR_STTTO (0x1u << 11) |
| (US_CR) Start Time-out
|
|
#define | US_CR_SENDA (0x1u << 12) |
| (US_CR) Send Address
|
|
#define | US_CR_RSTIT (0x1u << 13) |
| (US_CR) Reset Iterations
|
|
#define | US_CR_RSTNACK (0x1u << 14) |
| (US_CR) Reset Non Acknowledge
|
|
#define | US_CR_RETTO (0x1u << 15) |
| (US_CR) Rearm Time-out
|
|
#define | US_CR_RTSEN (0x1u << 18) |
| (US_CR) Request to Send Enable
|
|
#define | US_CR_FCS (0x1u << 18) |
| (US_CR) Force SPI Chip Select
|
|
#define | US_CR_RTSDIS (0x1u << 19) |
| (US_CR) Request to Send Disable
|
|
#define | US_CR_RCS (0x1u << 19) |
| (US_CR) Release SPI Chip Select
|
|
#define | US_CR_LINABT (0x1u << 20) |
| (US_CR) Abort LIN Transmission
|
|
#define | US_CR_LINWKUP (0x1u << 21) |
| (US_CR) Send LIN Wakeup Signal
|
|
#define | US_MR_USART_MODE_Pos 0 |
|
#define | US_MR_USART_MODE_Msk (0xfu << US_MR_USART_MODE_Pos) |
| (US_MR)
|
|
#define | US_MR_USART_MODE_NORMAL (0x0u << 0) |
| (US_MR) Normal mode
|
|
#define | US_MR_USART_MODE_RS485 (0x1u << 0) |
| (US_MR) RS485
|
|
#define | US_MR_USART_MODE_HW_HANDSHAKING (0x2u << 0) |
| (US_MR) Hardware Handshaking
|
|
#define | US_MR_USART_MODE_IS07816_T_0 (0x4u << 0) |
| (US_MR) IS07816 Protocol: T = 0
|
|
#define | US_MR_USART_MODE_IS07816_T_1 (0x6u << 0) |
| (US_MR) IS07816 Protocol: T = 1
|
|
#define | US_MR_USART_MODE_IRDA (0x8u << 0) |
| (US_MR) IrDA
|
|
#define | US_MR_USART_MODE_LIN_MASTER (0xAu << 0) |
| (US_MR) LIN Master
|
|
#define | US_MR_USART_MODE_LIN_SLAVE (0xBu << 0) |
| (US_MR) LIN Slave
|
|
#define | US_MR_USART_MODE_SPI_MASTER (0xEu << 0) |
| (US_MR) SPI Master
|
|
#define | US_MR_USART_MODE_SPI_SLAVE (0xFu << 0) |
| (US_MR) SPI Slave
|
|
#define | US_MR_USCLKS_Pos 4 |
|
#define | US_MR_USCLKS_Msk (0x3u << US_MR_USCLKS_Pos) |
| (US_MR) Clock Selection
|
|
#define | US_MR_USCLKS_MCK (0x0u << 4) |
| (US_MR) Master Clock MCK is selected
|
|
#define | US_MR_USCLKS_DIV (0x1u << 4) |
| (US_MR) Internal Clock Divided MCK/DIV (DIV=8) is selected
|
|
#define | US_MR_USCLKS_SCK (0x3u << 4) |
| (US_MR) Serial Clock SLK is selected
|
|
#define | US_MR_CHRL_Pos 6 |
|
#define | US_MR_CHRL_Msk (0x3u << US_MR_CHRL_Pos) |
| (US_MR) Character Length.
|
|
#define | US_MR_CHRL_5_BIT (0x0u << 6) |
| (US_MR) Character length is 5 bits
|
|
#define | US_MR_CHRL_6_BIT (0x1u << 6) |
| (US_MR) Character length is 6 bits
|
|
#define | US_MR_CHRL_7_BIT (0x2u << 6) |
| (US_MR) Character length is 7 bits
|
|
#define | US_MR_CHRL_8_BIT (0x3u << 6) |
| (US_MR) Character length is 8 bits
|
|
#define | US_MR_SYNC (0x1u << 8) |
| (US_MR) Synchronous Mode Select
|
|
#define | US_MR_CPHA (0x1u << 8) |
| (US_MR) SPI Clock Phase
|
|
#define | US_MR_PAR_Pos 9 |
|
#define | US_MR_PAR_Msk (0x7u << US_MR_PAR_Pos) |
| (US_MR) Parity Type
|
|
#define | US_MR_PAR_EVEN (0x0u << 9) |
| (US_MR) Even parity
|
|
#define | US_MR_PAR_ODD (0x1u << 9) |
| (US_MR) Odd parity
|
|
#define | US_MR_PAR_SPACE (0x2u << 9) |
| (US_MR) Parity forced to 0 (Space)
|
|
#define | US_MR_PAR_MARK (0x3u << 9) |
| (US_MR) Parity forced to 1 (Mark)
|
|
#define | US_MR_PAR_NO (0x4u << 9) |
| (US_MR) No parity
|
|
#define | US_MR_PAR_MULTIDROP (0x6u << 9) |
| (US_MR) Multidrop mode
|
|
#define | US_MR_NBSTOP_Pos 12 |
|
#define | US_MR_NBSTOP_Msk (0x3u << US_MR_NBSTOP_Pos) |
| (US_MR) Number of Stop Bits
|
|
#define | US_MR_NBSTOP_1_BIT (0x0u << 12) |
| (US_MR) 1 stop bit
|
|
#define | US_MR_NBSTOP_1_5_BIT (0x1u << 12) |
| (US_MR) 1.5 stop bit (SYNC = 0) or reserved (SYNC = 1)
|
|
#define | US_MR_NBSTOP_2_BIT (0x2u << 12) |
| (US_MR) 2 stop bits
|
|
#define | US_MR_CHMODE_Pos 14 |
|
#define | US_MR_CHMODE_Msk (0x3u << US_MR_CHMODE_Pos) |
| (US_MR) Channel Mode
|
|
#define | US_MR_CHMODE_NORMAL (0x0u << 14) |
| (US_MR) Normal Mode
|
|
#define | US_MR_CHMODE_AUTOMATIC (0x1u << 14) |
| (US_MR) Automatic Echo. Receiver input is connected to the TXD pin.
|
|
#define | US_MR_CHMODE_LOCAL_LOOPBACK (0x2u << 14) |
| (US_MR) Local Loopback. Transmitter output is connected to the Receiver Input.
|
|
#define | US_MR_CHMODE_REMOTE_LOOPBACK (0x3u << 14) |
| (US_MR) Remote Loopback. RXD pin is internally connected to the TXD pin.
|
|
#define | US_MR_MSBF (0x1u << 16) |
| (US_MR) Bit Order
|
|
#define | US_MR_CPOL (0x1u << 16) |
| (US_MR) SPI Clock Polarity
|
|
#define | US_MR_MODE9 (0x1u << 17) |
| (US_MR) 9-bit Character Length
|
|
#define | US_MR_CLKO (0x1u << 18) |
| (US_MR) Clock Output Select
|
|
#define | US_MR_OVER (0x1u << 19) |
| (US_MR) Oversampling Mode
|
|
#define | US_MR_INACK (0x1u << 20) |
| (US_MR) Inhibit Non Acknowledge
|
|
#define | US_MR_DSNACK (0x1u << 21) |
| (US_MR) Disable Successive NACK
|
|
#define | US_MR_VAR_SYNC (0x1u << 22) |
| (US_MR) Variable Synchronization of Command/Data Sync Start Frame Delimiter
|
|
#define | US_MR_INVDATA (0x1u << 23) |
| (US_MR) INverted Data
|
|
#define | US_MR_MAX_ITERATION_Pos 24 |
|
#define | US_MR_MAX_ITERATION_Msk (0x7u << US_MR_MAX_ITERATION_Pos) |
| (US_MR)
|
|
#define | US_MR_MAX_ITERATION(value) ((US_MR_MAX_ITERATION_Msk & ((value) << US_MR_MAX_ITERATION_Pos))) |
|
#define | US_MR_FILTER (0x1u << 28) |
| (US_MR) Infrared Receive Line Filter
|
|
#define | US_MR_MAN (0x1u << 29) |
| (US_MR) Manchester Encoder/Decoder Enable
|
|
#define | US_MR_MODSYNC (0x1u << 30) |
| (US_MR) Manchester Synchronization Mode
|
|
#define | US_MR_ONEBIT (0x1u << 31) |
| (US_MR) Start Frame Delimiter Selector
|
|
#define | US_IER_RXRDY (0x1u << 0) |
| (US_IER) RXRDY Interrupt Enable
|
|
#define | US_IER_TXRDY (0x1u << 1) |
| (US_IER) TXRDY Interrupt Enable
|
|
#define | US_IER_RXBRK (0x1u << 2) |
| (US_IER) Receiver Break Interrupt Enable
|
|
#define | US_IER_ENDRX (0x1u << 3) |
| (US_IER) End of Receive Transfer Interrupt Enable
|
|
#define | US_IER_ENDTX (0x1u << 4) |
| (US_IER) End of Transmit Interrupt Enable
|
|
#define | US_IER_OVRE (0x1u << 5) |
| (US_IER) Overrun Error Interrupt Enable
|
|
#define | US_IER_FRAME (0x1u << 6) |
| (US_IER) Framing Error Interrupt Enable
|
|
#define | US_IER_PARE (0x1u << 7) |
| (US_IER) Parity Error Interrupt Enable
|
|
#define | US_IER_TIMEOUT (0x1u << 8) |
| (US_IER) Time-out Interrupt Enable
|
|
#define | US_IER_TXEMPTY (0x1u << 9) |
| (US_IER) TXEMPTY Interrupt Enable
|
|
#define | US_IER_ITER (0x1u << 10) |
| (US_IER) Max number of Repetitions Reached
|
|
#define | US_IER_UNRE (0x1u << 10) |
| (US_IER) SPI Underrun Error
|
|
#define | US_IER_TXBUFE (0x1u << 11) |
| (US_IER) Buffer Empty Interrupt Enable
|
|
#define | US_IER_RXBUFF (0x1u << 12) |
| (US_IER) Buffer Full Interrupt Enable
|
|
#define | US_IER_NACK (0x1u << 13) |
| (US_IER) Non Acknowledge Interrupt Enable
|
|
#define | US_IER_LINBK (0x1u << 13) |
| (US_IER) LIN Break Sent or LIN Break Received Interrupt Enable
|
|
#define | US_IER_LINID (0x1u << 14) |
| (US_IER) LIN Identifier Sent or LIN Identifier Received Interrupt Enable
|
|
#define | US_IER_LINTC (0x1u << 15) |
| (US_IER) LIN Transfer Completed Interrupt Enable
|
|
#define | US_IER_CTSIC (0x1u << 19) |
| (US_IER) Clear to Send Input Change Interrupt Enable
|
|
#define | US_IER_MANE (0x1u << 24) |
| (US_IER) Manchester Error Interrupt Enable
|
|
#define | US_IER_LINBE (0x1u << 25) |
| (US_IER) LIN Bus Error Interrupt Enable
|
|
#define | US_IER_LINISFE (0x1u << 26) |
| (US_IER) LIN Inconsistent Synch Field Error Interrupt Enable
|
|
#define | US_IER_LINIPE (0x1u << 27) |
| (US_IER) LIN Identifier Parity Interrupt Enable
|
|
#define | US_IER_LINCE (0x1u << 28) |
| (US_IER) LIN Checksum Error Interrupt Enable
|
|
#define | US_IER_LINSNRE (0x1u << 29) |
| (US_IER) LIN Slave Not Responding Error Interrupt Enable
|
|
#define | US_IDR_RXRDY (0x1u << 0) |
| (US_IDR) RXRDY Interrupt Disable
|
|
#define | US_IDR_TXRDY (0x1u << 1) |
| (US_IDR) TXRDY Interrupt Disable
|
|
#define | US_IDR_RXBRK (0x1u << 2) |
| (US_IDR) Receiver Break Interrupt Disable
|
|
#define | US_IDR_ENDRX (0x1u << 3) |
| (US_IDR) End of Receive Transfer Interrupt Disable
|
|
#define | US_IDR_ENDTX (0x1u << 4) |
| (US_IDR) End of Transmit Interrupt Disable
|
|
#define | US_IDR_OVRE (0x1u << 5) |
| (US_IDR) Overrun Error Interrupt Disable
|
|
#define | US_IDR_FRAME (0x1u << 6) |
| (US_IDR) Framing Error Interrupt Disable
|
|
#define | US_IDR_PARE (0x1u << 7) |
| (US_IDR) Parity Error Interrupt Disable
|
|
#define | US_IDR_TIMEOUT (0x1u << 8) |
| (US_IDR) Time-out Interrupt Disable
|
|
#define | US_IDR_TXEMPTY (0x1u << 9) |
| (US_IDR) TXEMPTY Interrupt Disable
|
|
#define | US_IDR_ITER (0x1u << 10) |
| (US_IDR) Max number of Repetitions Reached Disable
|
|
#define | US_IDR_UNRE (0x1u << 10) |
| (US_IDR) SPI Underrun Error Disable
|
|
#define | US_IDR_TXBUFE (0x1u << 11) |
| (US_IDR) Buffer Empty Interrupt Disable
|
|
#define | US_IDR_RXBUFF (0x1u << 12) |
| (US_IDR) Buffer Full Interrupt Disable
|
|
#define | US_IDR_NACK (0x1u << 13) |
| (US_IDR) Non Acknowledge Interrupt Disable
|
|
#define | US_IDR_LINBK (0x1u << 13) |
| (US_IDR) LIN Break Sent or LIN Break Received Interrupt Disable
|
|
#define | US_IDR_LINID (0x1u << 14) |
| (US_IDR) LIN Identifier Sent or LIN Identifier Received Interrupt Disable
|
|
#define | US_IDR_LINTC (0x1u << 15) |
| (US_IDR) LIN Transfer Completed Interrupt Disable
|
|
#define | US_IDR_CTSIC (0x1u << 19) |
| (US_IDR) Clear to Send Input Change Interrupt Disable
|
|
#define | US_IDR_MANE (0x1u << 24) |
| (US_IDR) Manchester Error Interrupt Disable
|
|
#define | US_IDR_LINBE (0x1u << 25) |
| (US_IDR) LIN Bus Error Interrupt Disable
|
|
#define | US_IDR_LINISFE (0x1u << 26) |
| (US_IDR) LIN Inconsistent Synch Field Error Interrupt Disable
|
|
#define | US_IDR_LINIPE (0x1u << 27) |
| (US_IDR) LIN Identifier Parity Interrupt Disable
|
|
#define | US_IDR_LINCE (0x1u << 28) |
| (US_IDR) LIN Checksum Error Interrupt Disable
|
|
#define | US_IDR_LINSNRE (0x1u << 29) |
| (US_IDR) LIN Slave Not Responding Error Interrupt Disable
|
|
#define | US_IMR_RXRDY (0x1u << 0) |
| (US_IMR) RXRDY Interrupt Mask
|
|
#define | US_IMR_TXRDY (0x1u << 1) |
| (US_IMR) TXRDY Interrupt Mask
|
|
#define | US_IMR_RXBRK (0x1u << 2) |
| (US_IMR) Receiver Break Interrupt Mask
|
|
#define | US_IMR_ENDRX (0x1u << 3) |
| (US_IMR) End of Receive Transfer Interrupt Mask
|
|
#define | US_IMR_ENDTX (0x1u << 4) |
| (US_IMR) End of Transmit Interrupt Mask
|
|
#define | US_IMR_OVRE (0x1u << 5) |
| (US_IMR) Overrun Error Interrupt Mask
|
|
#define | US_IMR_FRAME (0x1u << 6) |
| (US_IMR) Framing Error Interrupt Mask
|
|
#define | US_IMR_PARE (0x1u << 7) |
| (US_IMR) Parity Error Interrupt Mask
|
|
#define | US_IMR_TIMEOUT (0x1u << 8) |
| (US_IMR) Time-out Interrupt Mask
|
|
#define | US_IMR_TXEMPTY (0x1u << 9) |
| (US_IMR) TXEMPTY Interrupt Mask
|
|
#define | US_IMR_ITER (0x1u << 10) |
| (US_IMR) Max number of Repetitions Reached Mask
|
|
#define | US_IMR_UNRE (0x1u << 10) |
| (US_IMR) SPI Underrun Error Mask
|
|
#define | US_IMR_TXBUFE (0x1u << 11) |
| (US_IMR) Buffer Empty Interrupt Mask
|
|
#define | US_IMR_RXBUFF (0x1u << 12) |
| (US_IMR) Buffer Full Interrupt Mask
|
|
#define | US_IMR_NACK (0x1u << 13) |
| (US_IMR) Non Acknowledge Interrupt Mask
|
|
#define | US_IMR_LINBK (0x1u << 13) |
| (US_IMR) LIN Break Sent or LIN Break Received Interrupt Mask
|
|
#define | US_IMR_LINID (0x1u << 14) |
| (US_IMR) LIN Identifier Sent or LIN Identifier Received Interrupt Mask
|
|
#define | US_IMR_LINTC (0x1u << 15) |
| (US_IMR) LIN Transfer Completed Interrupt Mask
|
|
#define | US_IMR_CTSIC (0x1u << 19) |
| (US_IMR) Clear to Send Input Change Interrupt Mask
|
|
#define | US_IMR_MANE (0x1u << 24) |
| (US_IMR) Manchester Error Interrupt Mask
|
|
#define | US_IMR_LINBE (0x1u << 25) |
| (US_IMR) LIN Bus Error Interrupt Mask
|
|
#define | US_IMR_LINISFE (0x1u << 26) |
| (US_IMR) LIN Inconsistent Synch Field Error Interrupt Mask
|
|
#define | US_IMR_LINIPE (0x1u << 27) |
| (US_IMR) LIN Identifier Parity Interrupt Mask
|
|
#define | US_IMR_LINCE (0x1u << 28) |
| (US_IMR) LIN Checksum Error Interrupt Mask
|
|
#define | US_IMR_LINSNRE (0x1u << 29) |
| (US_IMR) LIN Slave Not Responding Error Interrupt Mask
|
|
#define | US_CSR_RXRDY (0x1u << 0) |
| (US_CSR) Receiver Ready
|
|
#define | US_CSR_TXRDY (0x1u << 1) |
| (US_CSR) Transmitter Ready
|
|
#define | US_CSR_RXBRK (0x1u << 2) |
| (US_CSR) Break Received/End of Break
|
|
#define | US_CSR_ENDRX (0x1u << 3) |
| (US_CSR) End of Receiver Transfer
|
|
#define | US_CSR_ENDTX (0x1u << 4) |
| (US_CSR) End of Transmitter Transfer
|
|
#define | US_CSR_OVRE (0x1u << 5) |
| (US_CSR) Overrun Error
|
|
#define | US_CSR_FRAME (0x1u << 6) |
| (US_CSR) Framing Error
|
|
#define | US_CSR_PARE (0x1u << 7) |
| (US_CSR) Parity Error
|
|
#define | US_CSR_TIMEOUT (0x1u << 8) |
| (US_CSR) Receiver Time-out
|
|
#define | US_CSR_TXEMPTY (0x1u << 9) |
| (US_CSR) Transmitter Empty
|
|
#define | US_CSR_ITER (0x1u << 10) |
| (US_CSR) Max number of Repetitions Reached
|
|
#define | US_CSR_UNRE (0x1u << 10) |
| (US_CSR) SPI Underrun Error
|
|
#define | US_CSR_TXBUFE (0x1u << 11) |
| (US_CSR) Transmission Buffer Empty
|
|
#define | US_CSR_RXBUFF (0x1u << 12) |
| (US_CSR) Reception Buffer Full
|
|
#define | US_CSR_NACK (0x1u << 13) |
| (US_CSR) Non Acknowledge Interrupt
|
|
#define | US_CSR_LINBK (0x1u << 13) |
| (US_CSR) LIN Break Sent or LIN Break Received
|
|
#define | US_CSR_LINID (0x1u << 14) |
| (US_CSR) LIN Identifier Sent or LIN Identifier Received
|
|
#define | US_CSR_LINTC (0x1u << 15) |
| (US_CSR) LIN Transfer Completed
|
|
#define | US_CSR_CTSIC (0x1u << 19) |
| (US_CSR) Clear to Send Input Change Flag
|
|
#define | US_CSR_CTS (0x1u << 23) |
| (US_CSR) Image of CTS Input
|
|
#define | US_CSR_LINBLS (0x1u << 23) |
| (US_CSR) LIN Bus Line Status
|
|
#define | US_CSR_MANERR (0x1u << 24) |
| (US_CSR) Manchester Error
|
|
#define | US_CSR_LINBE (0x1u << 25) |
| (US_CSR) LIN Bit Error
|
|
#define | US_CSR_LINISFE (0x1u << 26) |
| (US_CSR) LIN Inconsistent Synch Field Error
|
|
#define | US_CSR_LINIPE (0x1u << 27) |
| (US_CSR) LIN Identifier Parity Error
|
|
#define | US_CSR_LINCE (0x1u << 28) |
| (US_CSR) LIN Checksum Error
|
|
#define | US_CSR_LINSNRE (0x1u << 29) |
| (US_CSR) LIN Slave Not Responding Error
|
|
#define | US_RHR_RXCHR_Pos 0 |
|
#define | US_RHR_RXCHR_Msk (0x1ffu << US_RHR_RXCHR_Pos) |
| (US_RHR) Received Character
|
|
#define | US_RHR_RXSYNH (0x1u << 15) |
| (US_RHR) Received Sync
|
|
#define | US_THR_TXCHR_Pos 0 |
|
#define | US_THR_TXCHR_Msk (0x1ffu << US_THR_TXCHR_Pos) |
| (US_THR) Character to be Transmitted
|
|
#define | US_THR_TXCHR(value) ((US_THR_TXCHR_Msk & ((value) << US_THR_TXCHR_Pos))) |
|
#define | US_THR_TXSYNH (0x1u << 15) |
| (US_THR) Sync Field to be transmitted
|
|
#define | US_BRGR_CD_Pos 0 |
|
#define | US_BRGR_CD_Msk (0xffffu << US_BRGR_CD_Pos) |
| (US_BRGR) Clock Divider
|
|
#define | US_BRGR_CD(value) ((US_BRGR_CD_Msk & ((value) << US_BRGR_CD_Pos))) |
|
#define | US_BRGR_FP_Pos 16 |
|
#define | US_BRGR_FP_Msk (0x7u << US_BRGR_FP_Pos) |
| (US_BRGR) Fractional Part
|
|
#define | US_BRGR_FP(value) ((US_BRGR_FP_Msk & ((value) << US_BRGR_FP_Pos))) |
|
#define | US_RTOR_TO_Pos 0 |
|
#define | US_RTOR_TO_Msk (0x1ffffu << US_RTOR_TO_Pos) |
| (US_RTOR) Time-out Value
|
|
#define | US_RTOR_TO(value) ((US_RTOR_TO_Msk & ((value) << US_RTOR_TO_Pos))) |
|
#define | US_TTGR_TG_Pos 0 |
|
#define | US_TTGR_TG_Msk (0xffu << US_TTGR_TG_Pos) |
| (US_TTGR) Timeguard Value
|
|
#define | US_TTGR_TG(value) ((US_TTGR_TG_Msk & ((value) << US_TTGR_TG_Pos))) |
|
#define | US_FIDI_FI_DI_RATIO_Pos 0 |
|
#define | US_FIDI_FI_DI_RATIO_Msk (0x7ffu << US_FIDI_FI_DI_RATIO_Pos) |
| (US_FIDI) FI Over DI Ratio Value
|
|
#define | US_FIDI_FI_DI_RATIO(value) ((US_FIDI_FI_DI_RATIO_Msk & ((value) << US_FIDI_FI_DI_RATIO_Pos))) |
|
#define | US_NER_NB_ERRORS_Pos 0 |
|
#define | US_NER_NB_ERRORS_Msk (0xffu << US_NER_NB_ERRORS_Pos) |
| (US_NER) Number of Errors
|
|
#define | US_IF_IRDA_FILTER_Pos 0 |
|
#define | US_IF_IRDA_FILTER_Msk (0xffu << US_IF_IRDA_FILTER_Pos) |
| (US_IF) IrDA Filter
|
|
#define | US_IF_IRDA_FILTER(value) ((US_IF_IRDA_FILTER_Msk & ((value) << US_IF_IRDA_FILTER_Pos))) |
|
#define | US_MAN_TX_PL_Pos 0 |
|
#define | US_MAN_TX_PL_Msk (0xfu << US_MAN_TX_PL_Pos) |
| (US_MAN) Transmitter Preamble Length
|
|
#define | US_MAN_TX_PL(value) ((US_MAN_TX_PL_Msk & ((value) << US_MAN_TX_PL_Pos))) |
|
#define | US_MAN_TX_PP_Pos 8 |
|
#define | US_MAN_TX_PP_Msk (0x3u << US_MAN_TX_PP_Pos) |
| (US_MAN) Transmitter Preamble Pattern
|
|
#define | US_MAN_TX_PP_ALL_ONE (0x0u << 8) |
| (US_MAN) The preamble is composed of '1's
|
|
#define | US_MAN_TX_PP_ALL_ZERO (0x1u << 8) |
| (US_MAN) The preamble is composed of '0's
|
|
#define | US_MAN_TX_PP_ZERO_ONE (0x2u << 8) |
| (US_MAN) The preamble is composed of '01's
|
|
#define | US_MAN_TX_PP_ONE_ZERO (0x3u << 8) |
| (US_MAN) The preamble is composed of '10's
|
|
#define | US_MAN_TX_MPOL (0x1u << 12) |
| (US_MAN) Transmitter Manchester Polarity
|
|
#define | US_MAN_RX_PL_Pos 16 |
|
#define | US_MAN_RX_PL_Msk (0xfu << US_MAN_RX_PL_Pos) |
| (US_MAN) Receiver Preamble Length
|
|
#define | US_MAN_RX_PL(value) ((US_MAN_RX_PL_Msk & ((value) << US_MAN_RX_PL_Pos))) |
|
#define | US_MAN_RX_PP_Pos 24 |
|
#define | US_MAN_RX_PP_Msk (0x3u << US_MAN_RX_PP_Pos) |
| (US_MAN) Receiver Preamble Pattern detected
|
|
#define | US_MAN_RX_PP_ALL_ONE (0x0u << 24) |
| (US_MAN) The preamble is composed of '1's
|
|
#define | US_MAN_RX_PP_ALL_ZERO (0x1u << 24) |
| (US_MAN) The preamble is composed of '0's
|
|
#define | US_MAN_RX_PP_ZERO_ONE (0x2u << 24) |
| (US_MAN) The preamble is composed of '01's
|
|
#define | US_MAN_RX_PP_ONE_ZERO (0x3u << 24) |
| (US_MAN) The preamble is composed of '10's
|
|
#define | US_MAN_RX_MPOL (0x1u << 28) |
| (US_MAN) Receiver Manchester Polarity
|
|
#define | US_MAN_STUCKTO1 (0x1u << 29) |
| (US_MAN)
|
|
#define | US_MAN_DRIFT (0x1u << 30) |
| (US_MAN) Drift compensation
|
|
#define | US_LINMR_NACT_Pos 0 |
|
#define | US_LINMR_NACT_Msk (0x3u << US_LINMR_NACT_Pos) |
| (US_LINMR) LIN Node Action
|
|
#define | US_LINMR_NACT_PUBLISH (0x0u << 0) |
| (US_LINMR) The USART transmits the response.
|
|
#define | US_LINMR_NACT_SUBSCRIBE (0x1u << 0) |
| (US_LINMR) The USART receives the response.
|
|
#define | US_LINMR_NACT_IGNORE (0x2u << 0) |
| (US_LINMR) The USART does not transmit and does not receive the response.
|
|
#define | US_LINMR_PARDIS (0x1u << 2) |
| (US_LINMR) Parity Disable
|
|
#define | US_LINMR_CHKDIS (0x1u << 3) |
| (US_LINMR) Checksum Disable
|
|
#define | US_LINMR_CHKTYP (0x1u << 4) |
| (US_LINMR) Checksum Type
|
|
#define | US_LINMR_DLM (0x1u << 5) |
| (US_LINMR) Data Length Mode
|
|
#define | US_LINMR_FSDIS (0x1u << 6) |
| (US_LINMR) Frame Slot Mode Disable
|
|
#define | US_LINMR_WKUPTYP (0x1u << 7) |
| (US_LINMR) Wakeup Signal Type
|
|
#define | US_LINMR_DLC_Pos 8 |
|
#define | US_LINMR_DLC_Msk (0xffu << US_LINMR_DLC_Pos) |
| (US_LINMR) Data Length Control
|
|
#define | US_LINMR_DLC(value) ((US_LINMR_DLC_Msk & ((value) << US_LINMR_DLC_Pos))) |
|
#define | US_LINMR_PDCM (0x1u << 16) |
| (US_LINMR) PDC Mode
|
|
#define | US_LINIR_IDCHR_Pos 0 |
|
#define | US_LINIR_IDCHR_Msk (0xffu << US_LINIR_IDCHR_Pos) |
| (US_LINIR) Identifier Character
|
|
#define | US_LINIR_IDCHR(value) ((US_LINIR_IDCHR_Msk & ((value) << US_LINIR_IDCHR_Pos))) |
|
#define | US_WPMR_WPEN (0x1u << 0) |
| (US_WPMR) Write Protect Enable
|
|
#define | US_WPMR_WPKEY_Pos 8 |
|
#define | US_WPMR_WPKEY_Msk (0xffffffu << US_WPMR_WPKEY_Pos) |
| (US_WPMR) Write Protect KEY
|
|
#define | US_WPMR_WPKEY(value) ((US_WPMR_WPKEY_Msk & ((value) << US_WPMR_WPKEY_Pos))) |
|
#define | US_WPSR_WPVS (0x1u << 0) |
| (US_WPSR) Write Protect Violation Status
|
|
#define | US_WPSR_WPVSRC_Pos 8 |
|
#define | US_WPSR_WPVSRC_Msk (0xffffu << US_WPSR_WPVSRC_Pos) |
| (US_WPSR) Write Protect Violation Source
|
|
#define | US_RPR_RXPTR_Pos 0 |
|
#define | US_RPR_RXPTR_Msk (0xffffffffu << US_RPR_RXPTR_Pos) |
| (US_RPR) Receive Pointer Register
|
|
#define | US_RPR_RXPTR(value) ((US_RPR_RXPTR_Msk & ((value) << US_RPR_RXPTR_Pos))) |
|
#define | US_RCR_RXCTR_Pos 0 |
|
#define | US_RCR_RXCTR_Msk (0xffffu << US_RCR_RXCTR_Pos) |
| (US_RCR) Receive Counter Register
|
|
#define | US_RCR_RXCTR(value) ((US_RCR_RXCTR_Msk & ((value) << US_RCR_RXCTR_Pos))) |
|
#define | US_TPR_TXPTR_Pos 0 |
|
#define | US_TPR_TXPTR_Msk (0xffffffffu << US_TPR_TXPTR_Pos) |
| (US_TPR) Transmit Counter Register
|
|
#define | US_TPR_TXPTR(value) ((US_TPR_TXPTR_Msk & ((value) << US_TPR_TXPTR_Pos))) |
|
#define | US_TCR_TXCTR_Pos 0 |
|
#define | US_TCR_TXCTR_Msk (0xffffu << US_TCR_TXCTR_Pos) |
| (US_TCR) Transmit Counter Register
|
|
#define | US_TCR_TXCTR(value) ((US_TCR_TXCTR_Msk & ((value) << US_TCR_TXCTR_Pos))) |
|
#define | US_RNPR_RXNPTR_Pos 0 |
|
#define | US_RNPR_RXNPTR_Msk (0xffffffffu << US_RNPR_RXNPTR_Pos) |
| (US_RNPR) Receive Next Pointer
|
|
#define | US_RNPR_RXNPTR(value) ((US_RNPR_RXNPTR_Msk & ((value) << US_RNPR_RXNPTR_Pos))) |
|
#define | US_RNCR_RXNCTR_Pos 0 |
|
#define | US_RNCR_RXNCTR_Msk (0xffffu << US_RNCR_RXNCTR_Pos) |
| (US_RNCR) Receive Next Counter
|
|
#define | US_RNCR_RXNCTR(value) ((US_RNCR_RXNCTR_Msk & ((value) << US_RNCR_RXNCTR_Pos))) |
|
#define | US_TNPR_TXNPTR_Pos 0 |
|
#define | US_TNPR_TXNPTR_Msk (0xffffffffu << US_TNPR_TXNPTR_Pos) |
| (US_TNPR) Transmit Next Pointer
|
|
#define | US_TNPR_TXNPTR(value) ((US_TNPR_TXNPTR_Msk & ((value) << US_TNPR_TXNPTR_Pos))) |
|
#define | US_TNCR_TXNCTR_Pos 0 |
|
#define | US_TNCR_TXNCTR_Msk (0xffffu << US_TNCR_TXNCTR_Pos) |
| (US_TNCR) Transmit Counter Next
|
|
#define | US_TNCR_TXNCTR(value) ((US_TNCR_TXNCTR_Msk & ((value) << US_TNCR_TXNCTR_Pos))) |
|
#define | US_PTCR_RXTEN (0x1u << 0) |
| (US_PTCR) Receiver Transfer Enable
|
|
#define | US_PTCR_RXTDIS (0x1u << 1) |
| (US_PTCR) Receiver Transfer Disable
|
|
#define | US_PTCR_TXTEN (0x1u << 8) |
| (US_PTCR) Transmitter Transfer Enable
|
|
#define | US_PTCR_TXTDIS (0x1u << 9) |
| (US_PTCR) Transmitter Transfer Disable
|
|
#define | US_PTSR_RXTEN (0x1u << 0) |
| (US_PTSR) Receiver Transfer Enable
|
|
#define | US_PTSR_TXTEN (0x1u << 8) |
| (US_PTSR) Transmitter Transfer Enable
|
|
SOFTWARE API DEFINITION FOR Universal Synchronous Asynchronous Receiver Transmitter