PicoVGA  1.0-cmake
VGA/TV display on Raspberry Pico
overclock.h
Go to the documentation of this file.
1 
8 #ifndef _OVERCLOCK_H
9 #define _OVERCLOCK_H
10 
11 #include "pico/stdlib.h"
12 
44 bool vcocalc(u32 reqkhz, u32 input, u32 vcomin, u32 vcomax, bool lowvco,
45  u32* outkhz, u32* outvco, u16* outfbdiv, u8* outpd1, u8* outpd2);
46 
57 bool FindSysClock(u32 reqkhz, u32* outkhz, u32* outvco, u16* outfbdiv, u8* outpd1, u8* outpd2);
58 
63 void __not_in_flash_func(FlashSpeedSetup)(int baud);
64 
66 
67 #endif // _OVERCLOCK_H
FlashSpeedSetup
void __not_in_flash_func() FlashSpeedSetup(int baud)
Setting the interface speed for external flash.
Definition: overclock.cpp:105
FindSysClock
bool FindSysClock(u32 reqkhz, u32 *outkhz, u32 *outvco, u16 *outfbdiv, u8 *outpd1, u8 *outpd2)
Find PLL generator settings with default parameters. (use set_sys_clock_pll to set sysclock)
Definition: overclock.cpp:95
vcocalc
bool vcocalc(u32 reqkhz, u32 input, u32 vcomin, u32 vcomax, bool lowvco, u32 *outkhz, u32 *outvco, u16 *outfbdiv, u8 *outpd1, u8 *outpd2)
Search PLL setup.
Definition: overclock.cpp:26