CMSIS-Driver
Version 2.05
Peripheral Interface for Middleware and Application Code
|
Defines frame. More...
Macros | |
#define | ARM_SAI_FRAME_LENGTH(n) ((((n)-1)&0x3FFU) << ARM_SAI_FRAME_LENGTH_Pos) |
Frame length in bits (8..1024); default depends on protocol and data. More... | |
#define | ARM_SAI_FRAME_SYNC_WIDTH(n) ((((n)-1)&0xFFU) << ARM_SAI_FRAME_SYNC_WIDTH_Pos) |
Frame Sync width in bits (1..256); default=1; User Protocol only (ignored otherwise) More... | |
#define | ARM_SAI_FRAME_SYNC_POLARITY_HIGH (0U << ARM_SAI_FRAME_SYNC_POLARITY_Pos) |
Frame Sync is active high (default); User Protocol only (ignored otherwise) More... | |
#define | ARM_SAI_FRAME_SYNC_POLARITY_LOW (1U << ARM_SAI_FRAME_SYNC_POLARITY_Pos) |
Frame Sync is active low; User Protocol only (ignored otherwise) More... | |
#define | ARM_SAI_FRAME_SYNC_EARLY (1U << 19) |
Frame Sync one bit before the first bit of the frame; User Protocol only (ignored otherwise) More... | |
Defines frame.
#define ARM_SAI_FRAME_LENGTH | ( | n | ) | ((((n)-1)&0x3FFU) << ARM_SAI_FRAME_LENGTH_Pos) |
Frame length in bits (8..1024); default depends on protocol and data.
#define ARM_SAI_FRAME_SYNC_WIDTH | ( | n | ) | ((((n)-1)&0xFFU) << ARM_SAI_FRAME_SYNC_WIDTH_Pos) |
Frame Sync width in bits (1..256); default=1; User Protocol only (ignored otherwise)
#define ARM_SAI_FRAME_SYNC_POLARITY_HIGH (0U << ARM_SAI_FRAME_SYNC_POLARITY_Pos) |
Frame Sync is active high (default); User Protocol only (ignored otherwise)
#define ARM_SAI_FRAME_SYNC_POLARITY_LOW (1U << ARM_SAI_FRAME_SYNC_POLARITY_Pos) |
Frame Sync is active low; User Protocol only (ignored otherwise)
#define ARM_SAI_FRAME_SYNC_EARLY (1U << 19) |
Frame Sync one bit before the first bit of the frame; User Protocol only (ignored otherwise)