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

Specifies additional miscellaneous controls. More...

Macros

#define ARM_USART_SET_DEFAULT_TX_VALUE   (0x10UL << ARM_USART_CONTROL_Pos)
 Set default Transmit value (Synchronous Receive only); arg = value.
 
#define ARM_USART_SET_IRDA_PULSE   (0x11UL << ARM_USART_CONTROL_Pos)
 Set IrDA Pulse in ns; arg: 0=3/16 of bit period.
 
#define ARM_USART_SET_SMART_CARD_GUARD_TIME   (0x12UL << ARM_USART_CONTROL_Pos)
 Set Smart Card Guard Time; arg = number of bit periods.
 
#define ARM_USART_SET_SMART_CARD_CLOCK   (0x13UL << ARM_USART_CONTROL_Pos)
 Set Smart Card Clock in Hz; arg: 0=Clock not generated.
 
#define ARM_USART_CONTROL_SMART_CARD_NACK   (0x14UL << ARM_USART_CONTROL_Pos)
 Smart Card NACK generation; arg: 0=disabled, 1=enabled.
 
#define ARM_USART_CONTROL_TX   (0x15UL << ARM_USART_CONTROL_Pos)
 Transmitter; arg: 0=disabled, 1=enabled.
 
#define ARM_USART_CONTROL_RX   (0x16UL << ARM_USART_CONTROL_Pos)
 Receiver; arg: 0=disabled, 1=enabled.
 
#define ARM_USART_CONTROL_BREAK   (0x17UL << ARM_USART_CONTROL_Pos)
 Continuous Break transmission; arg: 0=disabled, 1=enabled.
 
#define ARM_USART_ABORT_SEND   (0x18UL << ARM_USART_CONTROL_Pos)
 Abort ARM_USART_Send.
 
#define ARM_USART_ABORT_RECEIVE   (0x19UL << ARM_USART_CONTROL_Pos)
 Abort ARM_USART_Receive.
 
#define ARM_USART_ABORT_TRANSFER   (0x1AUL << ARM_USART_CONTROL_Pos)
 Abort ARM_USART_Transfer.
 

Description

Specifies additional miscellaneous controls.

Macro Definition Documentation

◆ ARM_USART_SET_DEFAULT_TX_VALUE

#define ARM_USART_SET_DEFAULT_TX_VALUE   (0x10UL << ARM_USART_CONTROL_Pos)

Set default Transmit value (Synchronous Receive only); arg = value.

See also
ARM_USART_Control; ARM_USART_Receive;

◆ ARM_USART_SET_IRDA_PULSE

#define ARM_USART_SET_IRDA_PULSE   (0x11UL << ARM_USART_CONTROL_Pos)

Set IrDA Pulse in ns; arg: 0=3/16 of bit period.

See also
ARM_USART_Control

◆ ARM_USART_SET_SMART_CARD_GUARD_TIME

#define ARM_USART_SET_SMART_CARD_GUARD_TIME   (0x12UL << ARM_USART_CONTROL_Pos)

Set Smart Card Guard Time; arg = number of bit periods.

See also
ARM_USART_Control

◆ ARM_USART_SET_SMART_CARD_CLOCK

#define ARM_USART_SET_SMART_CARD_CLOCK   (0x13UL << ARM_USART_CONTROL_Pos)

Set Smart Card Clock in Hz; arg: 0=Clock not generated.

See also
ARM_USART_Control

◆ ARM_USART_CONTROL_SMART_CARD_NACK

#define ARM_USART_CONTROL_SMART_CARD_NACK   (0x14UL << ARM_USART_CONTROL_Pos)

Smart Card NACK generation; arg: 0=disabled, 1=enabled.

See also
ARM_USART_Control

◆ ARM_USART_CONTROL_TX

#define ARM_USART_CONTROL_TX   (0x15UL << ARM_USART_CONTROL_Pos)

Transmitter; arg: 0=disabled, 1=enabled.

See also
ARM_USART_Control; ARM_USART_Send; ARM_USART_Transfer

◆ ARM_USART_CONTROL_RX

#define ARM_USART_CONTROL_RX   (0x16UL << ARM_USART_CONTROL_Pos)

Receiver; arg: 0=disabled, 1=enabled.

See also
ARM_USART_Control; ARM_USART_Receive; ARM_USART_Transfer;

◆ ARM_USART_CONTROL_BREAK

#define ARM_USART_CONTROL_BREAK   (0x17UL << ARM_USART_CONTROL_Pos)

Continuous Break transmission; arg: 0=disabled, 1=enabled.

See also
ARM_USART_Control

◆ ARM_USART_ABORT_SEND

#define ARM_USART_ABORT_SEND   (0x18UL << ARM_USART_CONTROL_Pos)

◆ ARM_USART_ABORT_RECEIVE

#define ARM_USART_ABORT_RECEIVE   (0x19UL << ARM_USART_CONTROL_Pos)

◆ ARM_USART_ABORT_TRANSFER

#define ARM_USART_ABORT_TRANSFER   (0x1AUL << ARM_USART_CONTROL_Pos)