Mercurial > hg > beaglert
comparison 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 |
comparison
equal
deleted
inserted
replaced
150:ebbfb154351a | 151:e9c9404e3d1f |
---|---|
36 int setPllD(unsigned int d); | 36 int setPllD(unsigned int d); |
37 int setPllP(short unsigned int p); | 37 int setPllP(short unsigned int p); |
38 int setPllR(unsigned int r); | 38 int setPllR(unsigned int r); |
39 int setPllK(float k); | 39 int setPllK(float k); |
40 int setAudioSamplingRate(float newSamplingRate); | 40 int setAudioSamplingRate(float newSamplingRate); |
41 double getAudioSamplingRate(); | |
41 short unsigned int getPllJ(); | 42 short unsigned int getPllJ(); |
42 unsigned int getPllD(); | 43 unsigned int getPllD(); |
43 unsigned int getPllP(); | 44 unsigned int getPllP(); |
44 unsigned int getPllR(); | 45 unsigned int getPllR(); |
45 float getPllK(); | 46 float getPllK(); |
46 float getAudioSamplingRate(); | |
47 int setDACVolume(int halfDbSteps); | 47 int setDACVolume(int halfDbSteps); |
48 int writeDACVolumeRegisters(bool mute); | 48 int writeDACVolumeRegisters(bool mute); |
49 int setADCVolume(int halfDbSteps); | 49 int setADCVolume(int halfDbSteps); |
50 int writeADCVolumeRegisters(bool mute); | 50 int writeADCVolumeRegisters(bool mute); |
51 int setHPVolume(int halfDbSteps); | 51 int setHPVolume(int halfDbSteps); |