PicoSDK
+
0
/2 examples
SourceVu will show references to
set_sys_clock_khz()
from the following samples and libraries:
detached_clk_peri sample
blink sample
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
PicoSDK
set_sys_clock_khz()
set_sys_clock_khz() function
Attempt to set a system clock frequency in khz Note that not all clock frequencies are possible; it is preferred that you use src/rp2_common/hardware_clocks/scripts/vcocalc.py to calculate the parameters for use with set_sys_clock_pll
Syntax
Show:
Summary
Declaration
from
clocks.h:458
static
inline
bool
set_sys_clock_khz
(
uint32_t
freq_khz
,
bool
required
)
;
Arguments
Argument
Description
freq_khz
Requested frequency
required
if true then this function will assert if the frequency is not attainable.
Return value
true if the clock was configured
Examples
set_sys_clock_khz()
is referenced by 2 libraries and example projects:
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out