I2c_Codec Class Reference
Inheritance diagram for I2c_Codec:
Inheritance graph
Collaboration diagram for I2c_Codec:
Collaboration graph

Public Member Functions

int writeRegister (unsigned int reg, unsigned int value)
 
int initCodec ()
 
int startAudio (int dual_rate)
 
int stopAudio ()
 
int setPllJ (short unsigned int j)
 
int setPllD (unsigned int d)
 
int setPllP (short unsigned int p)
 
int setPllR (unsigned int r)
 
int setPllK (float k)
 
int setAudioSamplingRate (float newSamplingRate)
 
short unsigned int getPllJ ()
 
unsigned int getPllD ()
 
unsigned int getPllP ()
 
unsigned int getPllR ()
 
float getPllK ()
 
float getAudioSamplingRate ()
 
int setPga (float newGain, unsigned short int channel)
 
int setDACVolume (int halfDbSteps)
 
int writeDACVolumeRegisters (bool mute)
 
int setADCVolume (int halfDbSteps)
 
int writeADCVolumeRegisters (bool mute)
 
int setHPVolume (int halfDbSteps)
 
int writeHPVolumeRegisters ()
 
int readI2C ()
 
- Public Member Functions inherited from I2c
int initI2C_RW (int bus, int address, int file)
 
int closeI2C ()
 

Additional Inherited Members

- Protected Attributes inherited from I2c
int i2C_bus
 
int i2C_address
 
int i2C_file
 

The documentation for this class was generated from the following file: