◆ 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) |
Definition at line 399 of file gr55xx_hal_uart.h.
◆ 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) |
Definition at line 415 of file gr55xx_hal_uart.h.
◆ 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) |
Definition at line 436 of file gr55xx_hal_uart.h.
◆ 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) |
Definition at line 425 of file gr55xx_hal_uart.h.
◆ 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) |
Definition at line 406 of file gr55xx_hal_uart.h.
#define UART_DATABITS_8
UART frame with 8 data bits.
#define UART_HWCONTROL_NONE
No hardware control
#define UART_DATABITS_6
UART frame with 6 data bits.
#define UART_STOPBITS_1_5
UART frame with 1.5 stop bits.
#define UART_PARITY_NONE
No parity
#define UART_PARITY_SP1
Stick Parity 1
#define UART_DATABITS_5
UART frame with 5 data bits.
#define UART_PARITY_SP0
Stick Parity 0
#define UART_HWCONTROL_RTS_CTS
Auto RTS and CTS hardware flow control
#define UART_DATABITS_7
UART frame with 7 data bits.
#define UART_PARITY_EVEN
Even parity
#define UART_STOPBITS_1
UART frame with 1 stop bit
#define UART_STOPBITS_2
UART frame with 2 stop bits
#define UART_PARITY_ODD
Odd parity.