C:/AudioFramework/Core/AFI2SBus.h File Reference

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
}

Detailed Description

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.

Version:
$Id: AFI2SBus.h 2199 2009-08-05 09:31:06Z mz $
Author:
Dimitris Papastamos
Manfredas Zabarauskas

Definition in file AFI2SBus.h.


Enumeration Type Documentation

Possible I2S bit lengths list for AFI2SBusCap. Note: constant names should match their semantical values, i.e. BIT_X = X.

Enumerator:
BIT_8 

8 bit length

BIT_16 

16 bit length

BIT_24 

24 bit length

BIT_32 

32 bit length

Definition at line 64 of file AFI2SBus.h.

Possible I2S data alignment list for AFI2SBusCap.

Enumerator:
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.

Possible I2S modes list for AF I2S bus capabilities structure (AFI2SBusCap).

Enumerator:
MASTER 

Master mode.

SLAVE 

Slave mode.

Definition at line 47 of file AFI2SBus.h.

Possible I2S sample frequencies list for AFI2SBusCap. Note: constant names should match their semantical values, i.e. FS_X = X.

Enumerator:
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.

Enumerator:
HZ_8000 

8 kHz sample rate

HZ_11025 

11.025 kHz sample rate

HZ_12000 

12 kHz sample rate

HZ_16000 

16 kHz sample rate

HZ_22050 

22.05 kHz sample rate

HZ_24000 

24 kHz sample rate

HZ_32000 

32 kHz sample rate

HZ_44100 

44.1 kHz sample rate

HZ_48000 

48 kHz sample rate

Definition at line 74 of file AFI2SBus.h.


Generated on Sun Sep 27 12:36:35 2009 for Audio Framework by  doxygen 1.6.1