1 #ifndef CLOCK_MANAGER_H 2 #define CLOCK_MANAGER_H 17 #define CLK_SRC_OSCILLATOR 1 19 #define CLK_SRC_TESTDBG0 2 21 #define CLK_SRC_TESTDBG1 3 23 #define CLK_SRC_PLLA 4 25 #define CLK_SRC_PLLC 5 27 #define CLK_SRC_PLLD 6 29 #define CLK_SRC_HDMI 7 int clkMan_setClock_pwm(int clockSrc, int divisorInt, int divisorFrac)
sets the clock for the pwm peripheral
Definition: clockManager.cpp:235
int clkMan_setClock_pcm(int clockSrc, int divisorInt, int divisorFrac)
sets the clock for the pcm peripheral
Definition: clockManager.cpp:221
int clkMan_isInit()
true if clkMan_init has been called with success
Definition: clockManager.cpp:90
int clkMan_setClock_gp2(int clockSrc, int divisorInt, int divisorFrac)
sets the clock for the general purpouse clock 2
Definition: clockManager.cpp:207
int clkMan_setClock_gp1(int clockSrc, int divisorInt, int divisorFrac)
sets the clock for the general purpouse clock 1
Definition: clockManager.cpp:193
int clkMan_setClock_gp0(int clockSrc, int divisorInt, int divisorFrac)
sets the clock for the general purpouse clock 0
Definition: clockManager.cpp:179
int clkMan_init()
Initializes this peripheral interface, to use before any other function in this file.
Definition: clockManager.cpp:73