I2S bus capability definitions (AFI2SBusCap and AFI2SBusCaps). More...
#include "AFCommon.h"Go to the source code of this file.
Classes | |
| struct | AFI2SBusCap |
| Structure encapsulating a particular I2S bus capability. More... | |
| struct | AFI2SBusCaps |
| Structure encapsulating an array of I2S bus capabilities. More... | |
Enumerations | |
| enum | AFI2SBCMode { MASTER = 0, SLAVE } |
Possible I2S modes list for AF I2S bus capabilities structure (AFI2SBusCap). More... | |
| enum | AFI2SBCDataAlign { LEFT_JUSTIFIED = 0, RIGHT_JUSTIFIED, I2S, DSP } |
Possible I2S data alignment list for AFI2SBusCap. More... | |
| enum | AFI2SBCBitLength { BIT_8 = 8, BIT_16 = 16, BIT_24 = 24, BIT_32 = 32 } |
| enum | AFI2SBCSamplingFrequency { HZ_8000 = 8000, HZ_11025 = 11025, HZ_12000 = 12000, HZ_16000 = 16000, HZ_22050 = 22050, HZ_24000 = 24000, HZ_32000 = 32000, HZ_44100 = 44100, HZ_48000 = 48000 } |
| enum | AFI2SBCSampleRate { FS_64 = 64, FS_128 = 128, FS_192 = 192, FS_256 = 256, FS_384 = 384, FS_512 = 512, FS_768 = 768, FS_1024 = 1024, FS_1408 = 1408, FS_1536 = 1536 } |
I2S bus capability definitions (AFI2SBusCap and AFI2SBusCaps).
This file contains definitions of the I2S bus capabilities, as well as the different configuration settings they can support in AFI2SBCMode, AFI2SBCDataAlign, AFI2SBCBitLength, AFI2SBCSampleRate, AFI2SBCSamplingFrequency enums.
Definition in file AFI2SBus.h.
| enum AFI2SBCBitLength |
Possible I2S bit lengths list for AFI2SBusCap. Note: constant names should match their semantical values, i.e. BIT_X = X.
Definition at line 64 of file AFI2SBus.h.
| enum AFI2SBCDataAlign |
Possible I2S data alignment list for AFI2SBusCap.
| LEFT_JUSTIFIED |
Data is left justified. |
| RIGHT_JUSTIFIED |
Data is right justified. |
| I2S |
I2S alignment (MSB available on the 2nd rising edge). |
| DSP |
DSP alignment (LR_CLK marks the start of a frame). |
Definition at line 54 of file AFI2SBus.h.
| enum AFI2SBCMode |
Possible I2S modes list for AF I2S bus capabilities structure (AFI2SBusCap).
Definition at line 47 of file AFI2SBus.h.
| enum AFI2SBCSampleRate |
Possible I2S sample frequencies list for AFI2SBusCap. Note: constant names should match their semantical values, i.e. FS_X = X.
| FS_64 |
64 fs |
| FS_128 |
128 fs |
| FS_192 |
192 fs |
| FS_256 |
256 fs |
| FS_384 |
384 fs |
| FS_512 |
512 fs |
| FS_768 |
768 fs |
| FS_1024 |
1024 fs |
| FS_1408 |
1408 fs |
| FS_1536 |
1536 fs |
Definition at line 89 of file AFI2SBus.h.
Possible I2S sample rates list for AFI2SBusCap. Note: constant names should match their semantical values (in Hz), i.e. HZ_X = X.
Definition at line 74 of file AFI2SBus.h.
1.6.1