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 )
u_long Cy2239xGetFreq ( int clk, int fctrl )
int Cy2239xGetPll ( int clk )
int Cy2239xPllEnable ( int pll, int fctrl, int ena )
u_long Cy2239xPllGetFreq ( int pll, int fctrl )
int Cy2239xPllSetFreq ( int pll, int fctrl, u_int pval, u_int poff, u_int qval, u_int fval )
int Cy2239xSetDivider ( int clk, int sel, int val )
int Cy2239xSetPll ( int clk, int pll )
static u_long PllFreq ( u_char* reg )