CMSIS-Driver
Version 2.04
Peripheral Interface for Middleware and Application Code
|
Negative values indicate errors (SAI has specific codes in addition to common Status Error Codes). More...
Macros | |
#define | ARM_SAI_ERROR_SYNCHRONIZATION (ARM_DRIVER_ERROR_SPECIFIC - 1) |
Specified Synchronization not supported. | |
#define | ARM_SAI_ERROR_PROTOCOL (ARM_DRIVER_ERROR_SPECIFIC - 2) |
Specified Protocol not supported. | |
#define | ARM_SAI_ERROR_DATA_SIZE (ARM_DRIVER_ERROR_SPECIFIC - 3) |
Specified Data size not supported. | |
#define | ARM_SAI_ERROR_BIT_ORDER (ARM_DRIVER_ERROR_SPECIFIC - 4) |
Specified Bit order not supported. | |
#define | ARM_SAI_ERROR_MONO_MODE (ARM_DRIVER_ERROR_SPECIFIC - 5) |
Specified Mono mode not supported. | |
#define | ARM_SAI_ERROR_COMPANDING (ARM_DRIVER_ERROR_SPECIFIC - 6) |
Specified Companding not supported. | |
#define | ARM_SAI_ERROR_CLOCK_POLARITY (ARM_DRIVER_ERROR_SPECIFIC - 7) |
Specified Clock polarity not supported. | |
#define | ARM_SAI_ERROR_AUDIO_FREQ (ARM_DRIVER_ERROR_SPECIFIC - 8) |
Specified Audio frequency not supported. | |
#define | ARM_SAI_ERROR_MCLK_PIN (ARM_DRIVER_ERROR_SPECIFIC - 9) |
Specified MCLK Pin setting not supported. | |
#define | ARM_SAI_ERROR_MCLK_PRESCALER (ARM_DRIVER_ERROR_SPECIFIC - 10) |
Specified MCLK Prescaler not supported. | |
#define | ARM_SAI_ERROR_FRAME_LENGHT (ARM_DRIVER_ERROR_SPECIFIC - 11) |
Specified Frame length not supported. | |
#define | ARM_SAI_ERROR_FRAME_SYNC_WIDTH (ARM_DRIVER_ERROR_SPECIFIC - 12) |
Specified Frame Sync width not supported. | |
#define | ARM_SAI_ERROR_FRAME_SYNC_POLARITY (ARM_DRIVER_ERROR_SPECIFIC - 13) |
Specified Frame Sync polarity not supported. | |
#define | ARM_SAI_ERROR_FRAME_SYNC_EARLY (ARM_DRIVER_ERROR_SPECIFIC - 14) |
Specified Frame Sync early not supported. | |
#define | ARM_SAI_ERROR_SLOT_COUNT (ARM_DRIVER_ERROR_SPECIFIC - 15) |
Specified Slot count not supported. | |
#define | ARM_SAI_ERROR_SLOT_SIZE (ARM_DRIVER_ERROR_SPECIFIC - 16) |
Specified Slot size not supported. | |
#define | ARM_SAI_ERROR_SLOT_OFFESET (ARM_DRIVER_ERROR_SPECIFIC - 17) |
Specified Slot offset not supported. | |
Negative values indicate errors (SAI has specific codes in addition to common Status Error Codes).
The SAI driver has additional status error codes that are listed below.
#define ARM_SAI_ERROR_SYNCHRONIZATION (ARM_DRIVER_ERROR_SPECIFIC - 1) |
Specified Synchronization not supported.
The synchronization requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_PROTOCOL (ARM_DRIVER_ERROR_SPECIFIC - 2) |
Specified Protocol not supported.
The protocol requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_DATA_SIZE (ARM_DRIVER_ERROR_SPECIFIC - 3) |
Specified Data size not supported.
The data size requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_BIT_ORDER (ARM_DRIVER_ERROR_SPECIFIC - 4) |
Specified Bit order not supported.
The bit order requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_MONO_MODE (ARM_DRIVER_ERROR_SPECIFIC - 5) |
Specified Mono mode not supported.
The mono mode requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_COMPANDING (ARM_DRIVER_ERROR_SPECIFIC - 6) |
Specified Companding not supported.
The companding requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_CLOCK_POLARITY (ARM_DRIVER_ERROR_SPECIFIC - 7) |
Specified Clock polarity not supported.
The clock polarity requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_AUDIO_FREQ (ARM_DRIVER_ERROR_SPECIFIC - 8) |
Specified Audio frequency not supported.
The audio frequency requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_MCLK_PIN (ARM_DRIVER_ERROR_SPECIFIC - 9) |
Specified MCLK Pin setting not supported.
The MCLK pin setting requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_MCLK_PRESCALER (ARM_DRIVER_ERROR_SPECIFIC - 10) |
Specified MCLK Prescaler not supported.
The MCLK prescaler requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_FRAME_LENGHT (ARM_DRIVER_ERROR_SPECIFIC - 11) |
Specified Frame length not supported.
The frame length requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_FRAME_SYNC_WIDTH (ARM_DRIVER_ERROR_SPECIFIC - 12) |
Specified Frame Sync width not supported.
The frame sync width requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_FRAME_SYNC_POLARITY (ARM_DRIVER_ERROR_SPECIFIC - 13) |
Specified Frame Sync polarity not supported.
The frame sync polarity requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_FRAME_SYNC_EARLY (ARM_DRIVER_ERROR_SPECIFIC - 14) |
Specified Frame Sync early not supported.
The frame sync early requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_SLOT_COUNT (ARM_DRIVER_ERROR_SPECIFIC - 15) |
Specified Slot count not supported.
The slot count requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_SLOT_SIZE (ARM_DRIVER_ERROR_SPECIFIC - 16) |
Specified Slot size not supported.
The slot size requested with the function ARM_SAI_Control is not supported.
#define ARM_SAI_ERROR_SLOT_OFFESET (ARM_DRIVER_ERROR_SPECIFIC - 17) |
Specified Slot offset not supported.
The slot offset requested with the function ARM_SAI_Control is not supported.