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

Loading...
Searching...
No Matches
Macros
SAI Controls
SAI Interface » SAI Control Codes

Specifies controls. More...

## Macros
#define | ARM_SAI_CONFIGURE_TX (0x01UL)
| Configure Transmitter; arg1 and arg2 provide additional configuration.
#define | ARM_SAI_CONFIGURE_RX (0x02UL)
| Configure Receiver; arg1 and arg2 provide additional configuration.
#define | ARM_SAI_CONTROL_TX (0x03UL)
| Control Transmitter; arg1.0: 0=disable (default), 1=enable; arg1.1: mute.
#define | ARM_SAI_CONTROL_RX (0x04UL)
| Control Receiver; arg1.0: 0=disable (default), 1=enable.
#define | ARM_SAI_MASK_SLOTS_TX (0x05UL)
| Mask Transmitter slots; arg1 = mask (bit: 0=active, 1=inactive); all configured slots are active by default.
#define | ARM_SAI_MASK_SLOTS_RX (0x06UL)
| Mask Receiver slots; arg1 = mask (bit: 0=active, 1=inactive); all configured slots are active by default.
#define | ARM_SAI_ABORT_SEND (0x07UL)
| Abort ARM_SAI_Send.
#define | ARM_SAI_ABORT_RECEIVE (0x08UL)
| Abort ARM_SAI_Receive.

## Description

Specifies controls.

## Macro Definition Documentation

## ◆ ARM_SAI_CONFIGURE_TX

#define ARM_SAI_CONFIGURE_TX (0x01UL)

Configure Transmitter; arg1 and arg2 provide additional configuration.

See also
  ARM_SAI_Control

## ◆ ARM_SAI_CONFIGURE_RX

#define ARM_SAI_CONFIGURE_RX (0x02UL)

Configure Receiver; arg1 and arg2 provide additional configuration.

See also
  ARM_SAI_Control

## ◆ ARM_SAI_CONTROL_TX

#define ARM_SAI_CONTROL_TX (0x03UL)

Control Transmitter; arg1.0: 0=disable (default), 1=enable; arg1.1: mute.

See also
  ARM_SAI_Control; ARM_SAI_Send

## ◆ ARM_SAI_CONTROL_RX

#define ARM_SAI_CONTROL_RX (0x04UL)

Control Receiver; arg1.0: 0=disable (default), 1=enable.

See also
  ARM_SAI_Control; ARM_SAI_Receive

## ◆ ARM_SAI_MASK_SLOTS_TX

#define ARM_SAI_MASK_SLOTS_TX (0x05UL)

Mask Transmitter slots; arg1 = mask (bit: 0=active, 1=inactive); all configured slots are active by default.

See also
  ARM_SAI_Control; ARM_SAI_Send

## ◆ ARM_SAI_MASK_SLOTS_RX

#define ARM_SAI_MASK_SLOTS_RX (0x06UL)

Mask Receiver slots; arg1 = mask (bit: 0=active, 1=inactive); all configured slots are active by default.

See also
  ARM_SAI_Control; ARM_SAI_Receive

## ◆ ARM_SAI_ABORT_SEND

#define ARM_SAI_ABORT_SEND (0x07UL)

Abort ARM_SAI_Send.

See also
  ARM_SAI_Control; ARM_SAI_Send

## ◆ ARM_SAI_ABORT_RECEIVE

#define ARM_SAI_ABORT_RECEIVE (0x08UL)

Abort ARM_SAI_Receive.

See also
  ARM_SAI_Control; ARM_SAI_Receive