Defines frame. More...
Macros | |
#define | ARM_SAI_FRAME_LENGTH(n) ((((n)-1UL)&0x3FFUL) << 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)-1UL)&0xFFUL) << 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 (0UL << ARM_SAI_FRAME_SYNC_POLARITY_Pos) |
Frame Sync is active high (default); User Protocol only (ignored otherwise) | |
#define | ARM_SAI_FRAME_SYNC_POLARITY_LOW (1UL << ARM_SAI_FRAME_SYNC_POLARITY_Pos) |
Frame Sync is active low; User Protocol only (ignored otherwise) | |
#define | ARM_SAI_FRAME_SYNC_EARLY (1UL << 19) |
Frame Sync one bit before the first bit of the frame; User Protocol only (ignored otherwise) | |
Defines frame.
#define ARM_SAI_FRAME_LENGTH | ( | n | ) | ((((n)-1UL)&0x3FFUL) << 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)-1UL)&0xFFUL) << 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 (0UL << ARM_SAI_FRAME_SYNC_POLARITY_Pos) |
Frame Sync is active high (default); User Protocol only (ignored otherwise)
#define ARM_SAI_FRAME_SYNC_POLARITY_LOW (1UL << ARM_SAI_FRAME_SYNC_POLARITY_Pos) |
Frame Sync is active low; User Protocol only (ignored otherwise)
#define ARM_SAI_FRAME_SYNC_EARLY (1UL << 19) |
Frame Sync one bit before the first bit of the frame; User Protocol only (ignored otherwise)