| BlueNRG-1 Peripherals drivers APIs

- Main Page
- Modules
- Classes
- Files

Macros
Flags Definition
BLUENRG1 Peripheral Driver » UART Peripheral » Exported Constants

## Macros

#define | UART_FLAG_CTS ((uint32_t)0x00000001)
#define | UART_FLAG_BUSY ((uint32_t)0x00000008)
#define | UART_FLAG_RXFE ((uint32_t)0x00000010)
#define | UART_FLAG_TXFF ((uint32_t)0x00000020)
#define | UART_FLAG_RXFF ((uint32_t)0x00000040)
#define | UART_FLAG_TXFE ((uint32_t)0x00000080)
#define | UART_FLAG_FE ((uint32_t)0x80000001)
#define | UART_FLAG_PE ((uint32_t)0x80000002)
#define | UART_FLAG_BE ((uint32_t)0x80000004)
#define | UART_FLAG_OE ((uint32_t)0x80000008)
#define | IS_UART_FLAG(FLAG)
#define | IS_UART_CLEAR_FLAG(FLAG)
#define | IS_UART_BAUDRATE(BAUDRATE) (((BAUDRATE) > 0) && ((BAUDRATE) <= 1000000))
#define | IS_UART_DATA(DATA) ((DATA) <= 0x1FF)

## Detailed Description

## Macro Definition Documentation

#define IS_UART_BAUDRATE | ( |  | BAUDRATE | ) | (((BAUDRATE) > 0) && ((BAUDRATE) <= 1000000))

Definition at line 216 of file BlueNRG1_uart.h.

#define IS_UART_CLEAR_FLAG | ( |  | FLAG | ) |

Value:
(((FLAG) == UART_FLAG_FE) || ((FLAG) == UART_FLAG_PE) || \
((FLAG) == UART_FLAG_BE) || ((FLAG) == UART_FLAG_OE))
UART_FLAG_FE
#define UART_FLAG_FE
Definition: BlueNRG1_uart.h:199
UART_FLAG_OE
#define UART_FLAG_OE
Definition: BlueNRG1_uart.h:202
UART_FLAG_PE
#define UART_FLAG_PE
Definition: BlueNRG1_uart.h:200
UART_FLAG_BE
#define UART_FLAG_BE
Definition: BlueNRG1_uart.h:201

Definition at line 212 of file BlueNRG1_uart.h.

#define IS_UART_DATA | ( |  | DATA | ) | ((DATA) <= 0x1FF)

Definition at line 219 of file BlueNRG1_uart.h.

#define IS_UART_FLAG | ( |  | FLAG | ) |

Value:
(((FLAG) == UART_FLAG_CTS) || ((FLAG) == UART_FLAG_BUSY) || \
((FLAG) == UART_FLAG_RXFE) || ((FLAG) == UART_FLAG_TXFF) || \
((FLAG) == UART_FLAG_RXFF) || ((FLAG) == UART_FLAG_TXFE) || \
((FLAG) == UART_FLAG_OE) || ((FLAG) == UART_FLAG_FE) || \
((FLAG) == UART_FLAG_PE) || ((FLAG) == UART_FLAG_BE) )
UART_FLAG_TXFF
#define UART_FLAG_TXFF
Definition: BlueNRG1_uart.h:195
UART_FLAG_FE
#define UART_FLAG_FE
Definition: BlueNRG1_uart.h:199
UART_FLAG_BUSY
#define UART_FLAG_BUSY
Definition: BlueNRG1_uart.h:193
UART_FLAG_OE
#define UART_FLAG_OE
Definition: BlueNRG1_uart.h:202
UART_FLAG_CTS
#define UART_FLAG_CTS
Definition: BlueNRG1_uart.h:192
UART_FLAG_RXFF
#define UART_FLAG_RXFF
Definition: BlueNRG1_uart.h:196
UART_FLAG_PE
#define UART_FLAG_PE
Definition: BlueNRG1_uart.h:200
UART_FLAG_TXFE
#define UART_FLAG_TXFE
Definition: BlueNRG1_uart.h:197
UART_FLAG_RXFE
#define UART_FLAG_RXFE
Definition: BlueNRG1_uart.h:194
UART_FLAG_BE
#define UART_FLAG_BE
Definition: BlueNRG1_uart.h:201

Definition at line 205 of file BlueNRG1_uart.h.

#define UART_FLAG_BE ((uint32_t)0x80000004)

Break error flag

Definition at line 201 of file BlueNRG1_uart.h.

#define UART_FLAG_BUSY ((uint32_t)0x00000008)

Busy flag

Definition at line 193 of file BlueNRG1_uart.h.

#define UART_FLAG_CTS ((uint32_t)0x00000001)

Clear to send flag

Definition at line 192 of file BlueNRG1_uart.h.

#define UART_FLAG_FE ((uint32_t)0x80000001)

Framing error flag

Definition at line 199 of file BlueNRG1_uart.h.

#define UART_FLAG_OE ((uint32_t)0x80000008)

Overrun error flag

Definition at line 202 of file BlueNRG1_uart.h.

#define UART_FLAG_PE ((uint32_t)0x80000002)

Parity error flag

Definition at line 200 of file BlueNRG1_uart.h.

#define UART_FLAG_RXFE ((uint32_t)0x00000010)

Receive FIFO empty flag

Definition at line 194 of file BlueNRG1_uart.h.

#define UART_FLAG_RXFF ((uint32_t)0x00000040)

Receive FIFO full flag

Definition at line 196 of file BlueNRG1_uart.h.

#define UART_FLAG_TXFE ((uint32_t)0x00000080)

Transmit FIFO empty flag

Definition at line 197 of file BlueNRG1_uart.h.

#define UART_FLAG_TXFF ((uint32_t)0x00000020)

Transmit FIFO full flag

Definition at line 195 of file BlueNRG1_uart.h.