Skip to content

F_CPU is defined but looks like it is not in use #79

Answered by silabs-bozont
lyusupov asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @lyusupov,
Your observation is correct - it's not used anywhere in the code. It's only defined for compatibility reasons - we might remove this in the future.
We have a separate API for changing the CPU clock speed:
setCPUClock() - sets the CPU clock speed - it can be one of CPU_39MHZ, CPU_76MHZ, CPU_80MHZ
Note, that the radio variants are calibrated to work with a 39 MHz clock.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lyusupov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants