Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Public Member Functions | List of all members
I2c_Codec Class Reference
Inheritance diagram for I2c_Codec:
I2c AudioCodec

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 enableHpOut (bool enable)
int enableLineOut (bool enable)
int disable ()
int reset ()
int readI2C ()
void setVerbose (bool isVerbose)
 I2c_Codec (int i2cBus, int I2cAddress, bool verbose=false)
- Public Member Functions inherited from I2c
 I2c (I2c &&)=delete
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: