RTEMS 6.1-rc2
|
Macros | |
#define | UART_GETCLOCKSOURCE(__HANDLE__, __CLOCKSOURCE__) |
Report the UART clock source. | |
#define | UART_MASK_COMPUTATION(__HANDLE__) |
Report the UART mask to apply to retrieve the received data according to the word length and to the parity bits activation. | |
#define | IS_UART_WORD_LENGTH(__LENGTH__) |
Ensure that UART frame length is valid. | |
#define | IS_UART_ADDRESSLENGTH_DETECT(__ADDRESS__) |
Ensure that UART wake-up address length is valid. | |
#define | IS_UART_TXFIFO_THRESHOLD(__THRESHOLD__) |
Ensure that UART TXFIFO threshold level is valid. | |
#define | IS_UART_RXFIFO_THRESHOLD(__THRESHOLD__) |
Ensure that UART RXFIFO threshold level is valid. | |
#define IS_UART_ADDRESSLENGTH_DETECT | ( | __ADDRESS__ | ) |
Ensure that UART wake-up address length is valid.
__ADDRESS__ | UART wake-up address length. |
SET | (ADDRESS is valid) or RESET (ADDRESS is invalid) |
#define IS_UART_RXFIFO_THRESHOLD | ( | __THRESHOLD__ | ) |
Ensure that UART RXFIFO threshold level is valid.
__THRESHOLD__ | UART RXFIFO threshold level. |
SET | (THRESHOLD is valid) or RESET (THRESHOLD is invalid) |
#define IS_UART_TXFIFO_THRESHOLD | ( | __THRESHOLD__ | ) |
Ensure that UART TXFIFO threshold level is valid.
__THRESHOLD__ | UART TXFIFO threshold level. |
SET | (THRESHOLD is valid) or RESET (THRESHOLD is invalid) |
#define IS_UART_WORD_LENGTH | ( | __LENGTH__ | ) |
Ensure that UART frame length is valid.
__LENGTH__ | UART frame length. |
SET | (LENGTH is valid) or RESET (LENGTH is invalid) |
#define UART_GETCLOCKSOURCE | ( | __HANDLE__, | |
__CLOCKSOURCE__ | |||
) |
Report the UART clock source.
__HANDLE__ | specifies the UART Handle. |
__CLOCKSOURCE__ | output variable. |
UART | clocking source, written in CLOCKSOURCE. |
#define UART_MASK_COMPUTATION | ( | __HANDLE__ | ) |
Report the UART mask to apply to retrieve the received data according to the word length and to the parity bits activation.
__HANDLE__ | specifies the UART Handle. |
None,the | mask to apply to UART RDR register is stored in (HANDLE)->Mask field. |