![]() |
MAX32520 Peripheral Driver API
Peripheral Driver API for the MAX32520
|
Control Register.
#define MXC_F_UART_CTRL_PAREN ((uint32_t)(0x1UL << MXC_F_UART_CTRL_PAREN_POS)) |
CTRL_PAREN Mask
#define MXC_F_UART_CTRL_PAREN_POS 4 |
CTRL_PAREN Position
#define MXC_F_UART_CTRL_PAREO ((uint32_t)(0x1UL << MXC_F_UART_CTRL_PAREO_POS)) |
CTRL_PAREO Mask
#define MXC_F_UART_CTRL_PAREO_POS 5 |
CTRL_PAREO Position
#define MXC_F_UART_CTRL_PARMD ((uint32_t)(0x1UL << MXC_F_UART_CTRL_PARMD_POS)) |
CTRL_PARMD Mask
#define MXC_F_UART_CTRL_PARMD_POS 6 |
CTRL_PARMD Position
#define MXC_F_UART_CTRL_RXFLUSH ((uint32_t)(0x1UL << MXC_F_UART_CTRL_RXFLUSH_POS)) |
CTRL_RXFLUSH Mask
#define MXC_F_UART_CTRL_RXFLUSH_POS 9 |
CTRL_RXFLUSH Position
#define MXC_F_UART_CTRL_RXTHD ((uint32_t)(0xFUL << MXC_F_UART_CTRL_RXTHD_POS)) |
CTRL_RXTHD Mask
#define MXC_F_UART_CTRL_RXTHD_POS 0 |
CTRL_RXTHD Position
#define MXC_F_UART_CTRL_SIZE ((uint32_t)(0x3UL << MXC_F_UART_CTRL_SIZE_POS)) |
CTRL_SIZE Mask
#define MXC_F_UART_CTRL_SIZE_POS 10 |
CTRL_SIZE Position
#define MXC_F_UART_CTRL_STOP ((uint32_t)(0x1UL << MXC_F_UART_CTRL_STOP_POS)) |
CTRL_STOP Mask
#define MXC_F_UART_CTRL_STOP_POS 12 |
CTRL_STOP Position
#define MXC_F_UART_CTRL_TXFLUSH ((uint32_t)(0x1UL << MXC_F_UART_CTRL_TXFLUSH_POS)) |
CTRL_TXFLUSH Mask
#define MXC_F_UART_CTRL_TXFLUSH_POS 8 |
CTRL_TXFLUSH Position
#define MXC_S_UART_CTRL_SIZE_5 (MXC_V_UART_CTRL_SIZE_5 << MXC_F_UART_CTRL_SIZE_POS) |
CTRL_SIZE_5 Setting
#define MXC_S_UART_CTRL_SIZE_6 (MXC_V_UART_CTRL_SIZE_6 << MXC_F_UART_CTRL_SIZE_POS) |
CTRL_SIZE_6 Setting
#define MXC_S_UART_CTRL_SIZE_7 (MXC_V_UART_CTRL_SIZE_7 << MXC_F_UART_CTRL_SIZE_POS) |
CTRL_SIZE_7 Setting
#define MXC_S_UART_CTRL_SIZE_8 (MXC_V_UART_CTRL_SIZE_8 << MXC_F_UART_CTRL_SIZE_POS) |
CTRL_SIZE_8 Setting
#define MXC_V_UART_CTRL_SIZE_5 ((uint32_t)0x0UL) |
CTRL_SIZE_5 Value
#define MXC_V_UART_CTRL_SIZE_6 ((uint32_t)0x1UL) |
CTRL_SIZE_6 Value
#define MXC_V_UART_CTRL_SIZE_7 ((uint32_t)0x2UL) |
CTRL_SIZE_7 Value
#define MXC_V_UART_CTRL_SIZE_8 ((uint32_t)0x3UL) |
CTRL_SIZE_8 Value