CMSIS-Driver  
Peripheral Interface for Middleware and Application Code
 
Loading...
Searching...
No Matches

Specify USART mode. More...

Macros

#define ARM_USART_MODE_ASYNCHRONOUS   (0x01UL << ARM_USART_CONTROL_Pos)
 UART (Asynchronous); arg = Baudrate.
 
#define ARM_USART_MODE_SYNCHRONOUS_MASTER   (0x02UL << ARM_USART_CONTROL_Pos)
 Synchronous Master (generates clock signal); arg = Baudrate.
 
#define ARM_USART_MODE_SYNCHRONOUS_SLAVE   (0x03UL << ARM_USART_CONTROL_Pos)
 Synchronous Slave (external clock signal)
 
#define ARM_USART_MODE_SINGLE_WIRE   (0x04UL << ARM_USART_CONTROL_Pos)
 UART Single-wire (half-duplex); arg = Baudrate.
 
#define ARM_USART_MODE_IRDA   (0x05UL << ARM_USART_CONTROL_Pos)
 UART IrDA; arg = Baudrate.
 
#define ARM_USART_MODE_SMART_CARD   (0x06UL << ARM_USART_CONTROL_Pos)
 UART Smart Card; arg = Baudrate.
 

Description

Specify USART mode.

Macro Definition Documentation

◆ ARM_USART_MODE_ASYNCHRONOUS

#define ARM_USART_MODE_ASYNCHRONOUS   (0x01UL << ARM_USART_CONTROL_Pos)

UART (Asynchronous); arg = Baudrate.

See also
ARM_USART_Control

◆ ARM_USART_MODE_SYNCHRONOUS_MASTER

#define ARM_USART_MODE_SYNCHRONOUS_MASTER   (0x02UL << ARM_USART_CONTROL_Pos)

Synchronous Master (generates clock signal); arg = Baudrate.

See also
ARM_USART_Control

◆ ARM_USART_MODE_SYNCHRONOUS_SLAVE

#define ARM_USART_MODE_SYNCHRONOUS_SLAVE   (0x03UL << ARM_USART_CONTROL_Pos)

Synchronous Slave (external clock signal)

See also
ARM_USART_Control

◆ ARM_USART_MODE_SINGLE_WIRE

#define ARM_USART_MODE_SINGLE_WIRE   (0x04UL << ARM_USART_CONTROL_Pos)

UART Single-wire (half-duplex); arg = Baudrate.

See also
ARM_USART_Control

◆ ARM_USART_MODE_IRDA

#define ARM_USART_MODE_IRDA   (0x05UL << ARM_USART_CONTROL_Pos)

UART IrDA; arg = Baudrate.

See also
ARM_USART_Control

◆ ARM_USART_MODE_SMART_CARD

#define ARM_USART_MODE_SMART_CARD   (0x06UL << ARM_USART_CONTROL_Pos)

UART Smart Card; arg = Baudrate.

See also
ARM_USART_Control