◆ IS_UART_BAUDRATE
#define IS_UART_BAUDRATE |
( |
|
__BAUDRATE__ | ) |
((__BAUDRATE__) < 921600U) |
Check if UART Baudrate is valid.
- Parameters
-
<strong>BAUDRATE</strong> | UART Baudrate. |
- Return values
-
SET | (BAUDRATE is valid) or RESET (BAUDRATE is invalid) |
◆ IS_UART_DATABITS
#define IS_UART_DATABITS |
( |
|
__DATABITS__ | ) |
|
Value:
Check if UART frame number of data bits is valid.
- Parameters
-
<strong>DATABITS</strong> | UART frame number of data bits. |
- Return values
-
SET | (DATABITS is valid) or RESET (DATABITS is invalid) |
◆ IS_UART_HARDWARE_FLOW_CONTROL
#define IS_UART_HARDWARE_FLOW_CONTROL |
( |
|
__CONTROL__ | ) |
|
Value:
Check if UART hardware flow control is valid.
- Parameters
-
<strong>CONTROL</strong> | UART hardware flow control. |
- Return values
-
SET | (CONTROL is valid) or RESET (CONTROL is invalid) |
◆ IS_UART_PARITY
#define IS_UART_PARITY |
( |
|
__PARITY__ | ) |
|
Value:
Check if UART frame parity is valid.
- Parameters
-
<strong>PARITY</strong> | UART frame parity. |
- Return values
-
SET | (PARITY is valid) or RESET (PARITY is invalid) |
◆ IS_UART_STOPBITS
#define IS_UART_STOPBITS |
( |
|
__STOPBITS__ | ) |
|
Value:
Check if UART frame number of stop bits is valid.
- Parameters
-
<strong>STOPBITS</strong> | UART frame number of stop bits. |
- Return values
-
SET | (STOPBITS is valid) or RESET (STOPBITS is invalid) |
#define UART_DATABITS_8
Definition: gr55xx_hal_uart.h:250
#define UART_HWCONTROL_NONE
Definition: gr55xx_hal_uart.h:274
#define UART_DATABITS_6
Definition: gr55xx_hal_uart.h:248
#define UART_STOPBITS_1_5
Definition: gr55xx_hal_uart.h:257
#define UART_PARITY_NONE
Definition: gr55xx_hal_uart.h:264
#define UART_PARITY_SP1
Definition: gr55xx_hal_uart.h:268
#define UART_DATABITS_5
Definition: gr55xx_hal_uart.h:247
#define UART_PARITY_SP0
Definition: gr55xx_hal_uart.h:267
#define UART_HWCONTROL_RTS_CTS
Definition: gr55xx_hal_uart.h:275
#define UART_DATABITS_7
Definition: gr55xx_hal_uart.h:249
#define UART_PARITY_EVEN
Definition: gr55xx_hal_uart.h:266
#define UART_STOPBITS_1
Definition: gr55xx_hal_uart.h:256
#define UART_STOPBITS_2
Definition: gr55xx_hal_uart.h:258
#define UART_PARITY_ODD
Definition: gr55xx_hal_uart.h:265