We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2662bf8 commit 57c9f90Copy full SHA for 57c9f90
src/board.rs
@@ -448,7 +448,7 @@ fn spi4_setup(spi4: &pac::SPI4) {
448
449
fn tim2_setup(tim2: &pac::TIM2) {
450
tim2.psc.write(|w| w.psc().bits(200 - 1)); // from 200 MHz
451
- tim2.arr.write(|w| unsafe { w.bits(2 - 1) }); // s
+ tim2.arr.write(|w| unsafe { w.bits(2 - 1) }); // 2 µs
452
tim2.dier.write(|w| w.ude().set_bit());
453
tim2.egr.write(|w| w.ug().set_bit());
454
tim2.cr1.modify(|_, w| w.dir().clear_bit()); // up
0 commit comments