MAX32520 Peripheral Driver API
Peripheral Driver API for the MAX32520
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Modules Pages
UART_CTRL

Macros

#define MXC_F_UART_CTRL_RXTHD_POS   0
 
#define MXC_F_UART_CTRL_RXTHD   ((uint32_t)(0xFUL << MXC_F_UART_CTRL_RXTHD_POS))
 
#define MXC_F_UART_CTRL_PAREN_POS   4
 
#define MXC_F_UART_CTRL_PAREN   ((uint32_t)(0x1UL << MXC_F_UART_CTRL_PAREN_POS))
 
#define MXC_F_UART_CTRL_PAREO_POS   5
 
#define MXC_F_UART_CTRL_PAREO   ((uint32_t)(0x1UL << MXC_F_UART_CTRL_PAREO_POS))
 
#define MXC_F_UART_CTRL_PARMD_POS   6
 
#define MXC_F_UART_CTRL_PARMD   ((uint32_t)(0x1UL << MXC_F_UART_CTRL_PARMD_POS))
 
#define MXC_F_UART_CTRL_TXFLUSH_POS   8
 
#define MXC_F_UART_CTRL_TXFLUSH   ((uint32_t)(0x1UL << MXC_F_UART_CTRL_TXFLUSH_POS))
 
#define MXC_F_UART_CTRL_RXFLUSH_POS   9
 
#define MXC_F_UART_CTRL_RXFLUSH   ((uint32_t)(0x1UL << MXC_F_UART_CTRL_RXFLUSH_POS))
 
#define MXC_F_UART_CTRL_SIZE_POS   10
 
#define MXC_F_UART_CTRL_SIZE   ((uint32_t)(0x3UL << MXC_F_UART_CTRL_SIZE_POS))
 
#define MXC_V_UART_CTRL_SIZE_5   ((uint32_t)0x0UL)
 
#define MXC_S_UART_CTRL_SIZE_5   (MXC_V_UART_CTRL_SIZE_5 << MXC_F_UART_CTRL_SIZE_POS)
 
#define MXC_V_UART_CTRL_SIZE_6   ((uint32_t)0x1UL)
 
#define MXC_S_UART_CTRL_SIZE_6   (MXC_V_UART_CTRL_SIZE_6 << MXC_F_UART_CTRL_SIZE_POS)
 
#define MXC_V_UART_CTRL_SIZE_7   ((uint32_t)0x2UL)
 
#define MXC_S_UART_CTRL_SIZE_7   (MXC_V_UART_CTRL_SIZE_7 << MXC_F_UART_CTRL_SIZE_POS)
 
#define MXC_V_UART_CTRL_SIZE_8   ((uint32_t)0x3UL)
 
#define MXC_S_UART_CTRL_SIZE_8   (MXC_V_UART_CTRL_SIZE_8 << MXC_F_UART_CTRL_SIZE_POS)
 
#define MXC_F_UART_CTRL_STOP_POS   12
 
#define MXC_F_UART_CTRL_STOP   ((uint32_t)(0x1UL << MXC_F_UART_CTRL_STOP_POS))
 

Detailed Description

Control Register.

Macro Definition Documentation

◆ MXC_F_UART_CTRL_PAREN

#define MXC_F_UART_CTRL_PAREN   ((uint32_t)(0x1UL << MXC_F_UART_CTRL_PAREN_POS))

CTRL_PAREN Mask

◆ MXC_F_UART_CTRL_PAREN_POS

#define MXC_F_UART_CTRL_PAREN_POS   4

CTRL_PAREN Position

◆ MXC_F_UART_CTRL_PAREO

#define MXC_F_UART_CTRL_PAREO   ((uint32_t)(0x1UL << MXC_F_UART_CTRL_PAREO_POS))

CTRL_PAREO Mask

◆ MXC_F_UART_CTRL_PAREO_POS

#define MXC_F_UART_CTRL_PAREO_POS   5

CTRL_PAREO Position

◆ MXC_F_UART_CTRL_PARMD

#define MXC_F_UART_CTRL_PARMD   ((uint32_t)(0x1UL << MXC_F_UART_CTRL_PARMD_POS))

CTRL_PARMD Mask

◆ MXC_F_UART_CTRL_PARMD_POS

#define MXC_F_UART_CTRL_PARMD_POS   6

CTRL_PARMD Position

◆ MXC_F_UART_CTRL_RXFLUSH

#define MXC_F_UART_CTRL_RXFLUSH   ((uint32_t)(0x1UL << MXC_F_UART_CTRL_RXFLUSH_POS))

CTRL_RXFLUSH Mask

◆ MXC_F_UART_CTRL_RXFLUSH_POS

#define MXC_F_UART_CTRL_RXFLUSH_POS   9

CTRL_RXFLUSH Position

◆ MXC_F_UART_CTRL_RXTHD

#define MXC_F_UART_CTRL_RXTHD   ((uint32_t)(0xFUL << MXC_F_UART_CTRL_RXTHD_POS))

CTRL_RXTHD Mask

◆ MXC_F_UART_CTRL_RXTHD_POS

#define MXC_F_UART_CTRL_RXTHD_POS   0

CTRL_RXTHD Position

◆ MXC_F_UART_CTRL_SIZE

#define MXC_F_UART_CTRL_SIZE   ((uint32_t)(0x3UL << MXC_F_UART_CTRL_SIZE_POS))

CTRL_SIZE Mask

◆ MXC_F_UART_CTRL_SIZE_POS

#define MXC_F_UART_CTRL_SIZE_POS   10

CTRL_SIZE Position

◆ MXC_F_UART_CTRL_STOP

#define MXC_F_UART_CTRL_STOP   ((uint32_t)(0x1UL << MXC_F_UART_CTRL_STOP_POS))

CTRL_STOP Mask

◆ MXC_F_UART_CTRL_STOP_POS

#define MXC_F_UART_CTRL_STOP_POS   12

CTRL_STOP Position

◆ MXC_F_UART_CTRL_TXFLUSH

#define MXC_F_UART_CTRL_TXFLUSH   ((uint32_t)(0x1UL << MXC_F_UART_CTRL_TXFLUSH_POS))

CTRL_TXFLUSH Mask

◆ MXC_F_UART_CTRL_TXFLUSH_POS

#define MXC_F_UART_CTRL_TXFLUSH_POS   8

CTRL_TXFLUSH Position

◆ MXC_S_UART_CTRL_SIZE_5

#define MXC_S_UART_CTRL_SIZE_5   (MXC_V_UART_CTRL_SIZE_5 << MXC_F_UART_CTRL_SIZE_POS)

CTRL_SIZE_5 Setting

◆ MXC_S_UART_CTRL_SIZE_6

#define MXC_S_UART_CTRL_SIZE_6   (MXC_V_UART_CTRL_SIZE_6 << MXC_F_UART_CTRL_SIZE_POS)

CTRL_SIZE_6 Setting

◆ MXC_S_UART_CTRL_SIZE_7

#define MXC_S_UART_CTRL_SIZE_7   (MXC_V_UART_CTRL_SIZE_7 << MXC_F_UART_CTRL_SIZE_POS)

CTRL_SIZE_7 Setting

◆ MXC_S_UART_CTRL_SIZE_8

#define MXC_S_UART_CTRL_SIZE_8   (MXC_V_UART_CTRL_SIZE_8 << MXC_F_UART_CTRL_SIZE_POS)

CTRL_SIZE_8 Setting

◆ MXC_V_UART_CTRL_SIZE_5

#define MXC_V_UART_CTRL_SIZE_5   ((uint32_t)0x0UL)

CTRL_SIZE_5 Value

◆ MXC_V_UART_CTRL_SIZE_6

#define MXC_V_UART_CTRL_SIZE_6   ((uint32_t)0x1UL)

CTRL_SIZE_6 Value

◆ MXC_V_UART_CTRL_SIZE_7

#define MXC_V_UART_CTRL_SIZE_7   ((uint32_t)0x2UL)

CTRL_SIZE_7 Value

◆ MXC_V_UART_CTRL_SIZE_8

#define MXC_V_UART_CTRL_SIZE_8   ((uint32_t)0x3UL)

CTRL_SIZE_8 Value