Mercurial > hg > beaglert
diff include/I2c_Codec.h @ 143:dd24379336f1 ClockSync
Merged
author | Giulio Moro <giuliomoro@yahoo.it> |
---|---|
date | Mon, 14 Sep 2015 17:35:18 +0100 |
parents | d064234468cd |
children | 8ff5668bbbad |
line wrap: on
line diff
--- a/include/I2c_Codec.h Mon Sep 14 15:42:11 2015 +0100 +++ b/include/I2c_Codec.h Mon Sep 14 17:35:18 2015 +0100 @@ -23,6 +23,9 @@ { short unsigned int pllJ; short unsigned int pllD; + short unsigned int pllP; + short unsigned int pllR; + short unsigned int anotherField; public: int writeRegister(unsigned int reg, unsigned int value); @@ -32,10 +35,14 @@ 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 setDACVolume(int halfDbSteps);