Skip to content

System Clock source in project using 'target' option #870

Answered by salkinium
the-risk-taker asked this question in Q&A
Discussion options

You must be logged in to vote

(1) Is this the correct approach? Or is there a better way?

That's how it is intended to be used, you can also define multiple SystemClock structs to switch them at runtime (at the cost of calling Peripheral::initialize<SystemClock123>() for everything you use anytime you switch).

Can anyone tell me where I can find this topic in the documentation?

The Timer API is simply lacking documentation, sorry about that!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@salkinium
Comment options

@rleh
Comment options

Answer selected by the-risk-taker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants