comparison include/I2c_Codec.h @ 96:ef9392d077a4

Added methods to I2c_Codec to interact with the PLL
author Giulio Moro <giuliomoro@yahoo.it>
date Thu, 23 Jul 2015 02:36:49 +0100
parents 8a575ba3ab52
children e24c531220ee
comparison
equal deleted inserted replaced
94:2fe6690fcab7 96:ef9392d077a4
26 26
27 int initCodec(); 27 int initCodec();
28 int startAudio(int dual_rate); 28 int startAudio(int dual_rate);
29 int stopAudio(); 29 int stopAudio();
30 30
31 int setPllJ(short unsigned int j);
32 int setPllD(unsigned int d);
33 int setPllK(float k);
31 int setDACVolume(int halfDbSteps); 34 int setDACVolume(int halfDbSteps);
32 int writeDACVolumeRegisters(bool mute); 35 int writeDACVolumeRegisters(bool mute);
33 int setADCVolume(int halfDbSteps); 36 int setADCVolume(int halfDbSteps);
34 int writeADCVolumeRegisters(bool mute); 37 int writeADCVolumeRegisters(bool mute);
35 int setHPVolume(int halfDbSteps); 38 int setHPVolume(int halfDbSteps);