Structure encapsulating a particular I2S bus capability. More...
#include <AFI2SBus.h>
Public Member Functions | |
| BOOL | operator== (const AFI2SBusCap &other) |
| Compares two AFI2SBusCap structures. | |
| BOOL | IsCompatible (const AFI2SBusCap &other) |
| Compares two AFI2SBusCap structures for compatibility. | |
Public Attributes | |
| AFI2SBCMode | mode |
| AFI2SBCBitLength | bitLength |
| AFI2SBCSamplingFrequency | samplingFreq |
| AFI2SBCSampleRate | sampleRate |
| AFI2SBCDataAlign | dataAlign |
Structure encapsulating a particular I2S bus capability.
The purpose of this structure is to provide a convenient way for the CPU and the codec to report their I2S bus capabilities.
Definition at line 113 of file AFI2SBus.h.
| BOOL AFI2SBusCap::IsCompatible | ( | const AFI2SBusCap & | other | ) | [inline] |
Compares two AFI2SBusCap structures for compatibility.
Two I2S bus capabilities are defined as compatible if and only if all their fields except I2S mode match, and either one capability is in master mode and the other is in slave mode or at least one of them is in mixed mode.
| other | Reference to the capability to compare with. |
| TRUE | Capabilities are compatible. | |
| FALSE | Capabilities are not compatible. |
Definition at line 158 of file AFI2SBus.h.
| BOOL AFI2SBusCap::operator== | ( | const AFI2SBusCap & | other | ) | [inline] |
Compares two AFI2SBusCap structures.
| other | Reference to the capability to compare with. |
| TRUE | All the fields match. | |
| FALSE | Otherwise. |
Definition at line 133 of file AFI2SBus.h.
Definition at line 116 of file AFI2SBus.h.
Definition at line 119 of file AFI2SBus.h.
Definition at line 115 of file AFI2SBus.h.
Definition at line 118 of file AFI2SBus.h.
Definition at line 117 of file AFI2SBus.h.
1.6.1