Skip to content

Some problem with Rcc config #815

Answered by burrbull
schrodinger1772 asked this question in Q&A
Discussion options

You must be logged in to vote

when I changed the delay_ms as delay_us. everything goes well. So, what the problem of that. Thanks a lot for your all helping, that help me a lot.

delay_ms() is just an alias for delay::<1000>() where 1000 is frequency of timer clocking used to calculate timer prescaler which is 16bit width.
84MHz / 1kHz == 85000 > 2^16

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@schrodinger1772
Comment options

@schrodinger1772
Comment options

@burrbull
Comment options

@burrbull
Comment options

Answer selected by schrodinger1772
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