RTEMS 6.1-rc6
|
Macros | |
#define | IS_IRDA_BAUDRATE(__BAUDRATE__) ((__BAUDRATE__) < 115201U) |
Ensure that IRDA Baud rate is less or equal to maximum value. | |
#define | IS_IRDA_PRESCALER(__PRESCALER__) ((__PRESCALER__) > 0U) |
Ensure that IRDA prescaler value is strictly larger than 0. | |
#define | IS_IRDA_PARITY(__PARITY__) |
Ensure that IRDA frame parity is valid. | |
#define | IS_IRDA_TX_RX_MODE(__MODE__) |
Ensure that IRDA communication mode is valid. | |
#define | IS_IRDA_POWERMODE(__MODE__) |
Ensure that IRDA power mode is valid. | |
#define | IS_IRDA_CLOCKPRESCALER(__CLOCKPRESCALER__) |
Ensure that IRDA clock Prescaler is valid. | |
#define | IS_IRDA_STATE(__STATE__) |
Ensure that IRDA state is valid. | |
#define | IS_IRDA_MODE(__MODE__) |
Ensure that IRDA associated UART/USART mode is valid. | |
#define | IS_IRDA_ONE_BIT_SAMPLE(__ONEBIT__) |
Ensure that IRDA sampling rate is valid. | |
#define | IS_IRDA_DMA_TX(__DMATX__) |
Ensure that IRDA DMA TX mode is valid. | |
#define | IS_IRDA_DMA_RX(__DMARX__) |
Ensure that IRDA DMA RX mode is valid. | |
#define | IS_IRDA_REQUEST_PARAMETER(__PARAM__) |
Ensure that IRDA request is valid. | |
#define IS_IRDA_BAUDRATE | ( | __BAUDRATE__ | ) | ((__BAUDRATE__) < 115201U) |
Ensure that IRDA Baud rate is less or equal to maximum value.
__BAUDRATE__ | specifies the IRDA Baudrate set by the user. |
True | or False |
#define IS_IRDA_CLOCKPRESCALER | ( | __CLOCKPRESCALER__ | ) |
Ensure that IRDA clock Prescaler is valid.
__CLOCKPRESCALER__ | IRDA clock Prescaler value. |
SET | (CLOCKPRESCALER is valid) or RESET (CLOCKPRESCALER is invalid) |
#define IS_IRDA_DMA_RX | ( | __DMARX__ | ) |
Ensure that IRDA DMA RX mode is valid.
__DMARX__ | IRDA DMA RX mode. |
SET | (DMARX is valid) or RESET (DMARX is invalid) |
#define IS_IRDA_DMA_TX | ( | __DMATX__ | ) |
Ensure that IRDA DMA TX mode is valid.
__DMATX__ | IRDA DMA TX mode. |
SET | (DMATX is valid) or RESET (DMATX is invalid) |
#define IS_IRDA_MODE | ( | __MODE__ | ) |
Ensure that IRDA associated UART/USART mode is valid.
__MODE__ | IRDA associated UART/USART mode. |
SET | (MODE is valid) or RESET (MODE is invalid) |
#define IS_IRDA_ONE_BIT_SAMPLE | ( | __ONEBIT__ | ) |
Ensure that IRDA sampling rate is valid.
__ONEBIT__ | IRDA sampling rate. |
SET | (ONEBIT is valid) or RESET (ONEBIT is invalid) |
#define IS_IRDA_PARITY | ( | __PARITY__ | ) |
Ensure that IRDA frame parity is valid.
__PARITY__ | IRDA frame parity. |
SET | (PARITY is valid) or RESET (PARITY is invalid) |
#define IS_IRDA_POWERMODE | ( | __MODE__ | ) |
Ensure that IRDA power mode is valid.
__MODE__ | IRDA power mode. |
SET | (MODE is valid) or RESET (MODE is invalid) |
#define IS_IRDA_PRESCALER | ( | __PRESCALER__ | ) | ((__PRESCALER__) > 0U) |
Ensure that IRDA prescaler value is strictly larger than 0.
__PRESCALER__ | specifies the IRDA prescaler value set by the user. |
True | or False |
#define IS_IRDA_REQUEST_PARAMETER | ( | __PARAM__ | ) |
Ensure that IRDA request is valid.
__PARAM__ | IRDA request. |
SET | (PARAM is valid) or RESET (PARAM is invalid) |
#define IS_IRDA_STATE | ( | __STATE__ | ) |
Ensure that IRDA state is valid.
__STATE__ | IRDA state mode. |
SET | (STATE is valid) or RESET (STATE is invalid) |
#define IS_IRDA_TX_RX_MODE | ( | __MODE__ | ) |
Ensure that IRDA communication mode is valid.
__MODE__ | IRDA communication mode. |
SET | (MODE is valid) or RESET (MODE is invalid) |