RTEMS 6.1-rc1
|
Macros | |
#define | USART_MASK_COMPUTATION(__HANDLE__) |
Compute the USART mask to apply to retrieve the received data according to the word length and to the parity bits activation. More... | |
#define | IS_USART_WORD_LENGTH(__LENGTH__) |
Ensure that USART frame length is valid. More... | |
#define | IS_USART_NSS(__NSS__) |
Ensure that USART Negative Slave Select (NSS) pin management is valid. More... | |
#define | IS_USART_SLAVEMODE(__STATE__) |
Ensure that USART Slave Mode is valid. More... | |
#define | IS_USART_FIFO_MODE_STATE(__STATE__) |
Ensure that USART FIFO mode is valid. More... | |
#define | IS_USART_TXFIFO_THRESHOLD(__THRESHOLD__) |
Ensure that USART TXFIFO threshold level is valid. More... | |
#define | IS_USART_RXFIFO_THRESHOLD(__THRESHOLD__) |
Ensure that USART RXFIFO threshold level is valid. More... | |
#define IS_USART_FIFO_MODE_STATE | ( | __STATE__ | ) |
Ensure that USART FIFO mode is valid.
__STATE__ | USART FIFO mode. |
SET | (STATE is valid) or RESET (STATE is invalid) |
#define IS_USART_NSS | ( | __NSS__ | ) |
Ensure that USART Negative Slave Select (NSS) pin management is valid.
__NSS__ | USART Negative Slave Select pin management. |
SET | (NSS is valid) or RESET (NSS is invalid) |
#define IS_USART_RXFIFO_THRESHOLD | ( | __THRESHOLD__ | ) |
Ensure that USART RXFIFO threshold level is valid.
__THRESHOLD__ | USART RXFIFO threshold level. |
SET | (THRESHOLD is valid) or RESET (THRESHOLD is invalid) |
#define IS_USART_SLAVEMODE | ( | __STATE__ | ) |
Ensure that USART Slave Mode is valid.
__STATE__ | USART Slave Mode. |
SET | (STATE is valid) or RESET (STATE is invalid) |
#define IS_USART_TXFIFO_THRESHOLD | ( | __THRESHOLD__ | ) |
Ensure that USART TXFIFO threshold level is valid.
__THRESHOLD__ | USART TXFIFO threshold level. |
SET | (THRESHOLD is valid) or RESET (THRESHOLD is invalid) |
#define IS_USART_WORD_LENGTH | ( | __LENGTH__ | ) |
Ensure that USART frame length is valid.
__LENGTH__ | USART frame length. |
SET | (LENGTH is valid) or RESET (LENGTH is invalid) |
#define USART_MASK_COMPUTATION | ( | __HANDLE__ | ) |
Compute the USART mask to apply to retrieve the received data according to the word length and to the parity bits activation.
__HANDLE__ | specifies the USART Handle. |
None,the | mask to apply to USART RDR register is stored in (HANDLE)->Mask field. |