Included Files
- #include <nut/include/sys/event.h>
- #include <nut/include/dev/twif.h>
- #include <nut/include/dev/cy2239x.h>
Preprocessor definitions
#define I2C_SLA_PLL 0x69
#define NUT_PLL_FREF 25000000UL
int Cy2239xGetDivider ( int clk, int fctrl )
uint32_t Cy2239xGetFreq ( int clk, int fctrl )
int Cy2239xGetPll ( int clk )
int Cy2239xPllEnable ( int pll, int fctrl, int ena )
uint32_t Cy2239xPllGetFreq ( int pll, int fctrl )
int Cy2239xPllSetFreq ( int pll, int fctrl, unsigned int pval, unsigned int poff, unsigned int qval, unsigned int fval )
int Cy2239xSetDivider ( int clk, int sel, int val )
int Cy2239xSetPll ( int clk, int pll )
static uint32_t PllFreq ( uint8_t* reg )