Browse Source

STM32F070X6 devices do not have TIM6, TIM7 and TIM15

features/pwm
Jesse Braham 4 years ago
parent
commit
8c48095e32
  1. 4
      src/timers.rs

4
src/timers.rs

@ -221,14 +221,14 @@ timers! {
#[cfg(any(
feature = "stm32f030x8",
feature = "stm32f030xc",
feature = "stm32f070",
feature = "stm32f070xb",
))]
timers! {
TIM6: (tim6, tim6en, tim6rst, apb1enr, apb1rstr),
TIM15: (tim15, tim15en, tim15rst, apb2enr, apb2rstr),
}
#[cfg(any(feature = "stm32f030xc", feature = "stm32f070"))]
#[cfg(any(feature = "stm32f030xc", feature = "stm32f070xb"))]
timers! {
TIM7: (tim7, tim7en, tim7rst, apb1enr, apb1rstr),
}

Loading…
Cancel
Save