Skip to content

Commit 01e3224

Browse files
committed
Added notes on commented lines for TIM15
1 parent bc743de commit 01e3224

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pwm.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pins_to_channels_mapping! {
7777
TIM2: (PA2), (C3), (AF1);
7878
TIM2: (PA3), (C4), (AF1);
7979

80-
// TIM15
80+
// TIM15 - TODO: The uncommented lines are awaiting PAC updates to be valid.
8181
TIM15: (PB14), (C1), (AF14);
8282
// TIM15: (PB15), (C2), (AF14);
8383
TIM15: (PA2), (C1), (AF14);
@@ -311,6 +311,7 @@ macro_rules! small_timer {
311311
tim.ccmr1_output().modify(|_, w| unsafe { w.oc1pe().set_bit().oc1m().bits(6) });
312312
}
313313

314+
// TODO: The uncommented lines are awaiting PAC updates to be valid.
314315
// if PINS::C2 {
315316
// tim.ccmr1_output().modify(|_, w| unsafe { w.oc2pe().set_bit().oc2m().bits(6) });
316317
// }
@@ -339,6 +340,7 @@ macro_rules! small_timer {
339340

340341
pwm_channels! {
341342
$TIMX: (C1, $arr_width, cc1e, ccr1, ccr1),
343+
// TODO: The uncommented line is awaiting PAC updates to be valid.
342344
// (C2, $arr_width, cc2e, ccr2, ccr2),
343345
}
344346

0 commit comments

Comments
 (0)