Mercurial > hg > beaglert
comparison include/I2c_Codec.h @ 169:94751ad27fd6
Added method to set PGA per each channel
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Mon, 28 Dec 2015 03:17:22 +0100 |
parents | 8ff5668bbbad |
children |
comparison
equal
deleted
inserted
replaced
159:1e7db6610600 | 169:94751ad27fd6 |
---|---|
42 unsigned int getPllD(); | 42 unsigned int getPllD(); |
43 unsigned int getPllP(); | 43 unsigned int getPllP(); |
44 unsigned int getPllR(); | 44 unsigned int getPllR(); |
45 float getPllK(); | 45 float getPllK(); |
46 float getAudioSamplingRate(); | 46 float getAudioSamplingRate(); |
47 int setPga(float newGain, unsigned short int channel); | |
47 int setDACVolume(int halfDbSteps); | 48 int setDACVolume(int halfDbSteps); |
48 int writeDACVolumeRegisters(bool mute); | 49 int writeDACVolumeRegisters(bool mute); |
49 int setADCVolume(int halfDbSteps); | 50 int setADCVolume(int halfDbSteps); |
50 int writeADCVolumeRegisters(bool mute); | 51 int writeADCVolumeRegisters(bool mute); |
51 int setHPVolume(int halfDbSteps); | 52 int setHPVolume(int halfDbSteps); |