CMSIS-Driver: USART Miscellaneous Control

| CMSIS-Driver Version 2.04 Peripheral Interface for Middleware and Application Code

- Main Page
- Usage and Description
- Reference

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
USART Miscellaneous Control
USART Control Codes

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

#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;

#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

#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

#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

#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

#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

#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;

#define ARM_USART_CONTROL_BREAK (0x17UL << ARM_USART_CONTROL_Pos)

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

See Also
  ARM_USART_Control

#define ARM_USART_ABORT_SEND (0x18UL << ARM_USART_CONTROL_Pos)

Abort ARM_USART_Send.

See Also
  ARM_USART_Control;

#define ARM_USART_ABORT_RECEIVE (0x19UL << ARM_USART_CONTROL_Pos)

Abort ARM_USART_Receive.

See Also
  ARM_USART_Control;

#define ARM_USART_ABORT_TRANSFER (0x1AUL << ARM_USART_CONTROL_Pos)

Abort ARM_USART_Transfer.

See Also
  ARM_USART_Control;