Mercurial > hg > beaglert
diff include/I2c_Codec.h @ 151:e9c9404e3d1f ClockSync
Pff partially working. No PID. When setting the audio clock on the bbb to 44098 the master and slave clock keep diverging instead of converging ...
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Tue, 22 Sep 2015 04:10:07 +0100 |
parents | 8ff5668bbbad |
children |
line wrap: on
line diff
--- a/include/I2c_Codec.h Tue Sep 22 04:09:13 2015 +0100 +++ b/include/I2c_Codec.h Tue Sep 22 04:10:07 2015 +0100 @@ -38,12 +38,12 @@ int setPllR(unsigned int r); int setPllK(float k); int setAudioSamplingRate(float newSamplingRate); + double getAudioSamplingRate(); short unsigned int getPllJ(); unsigned int getPllD(); unsigned int getPllP(); unsigned int getPllR(); float getPllK(); - float getAudioSamplingRate(); int setDACVolume(int halfDbSteps); int writeDACVolumeRegisters(bool mute); int setADCVolume(int halfDbSteps);