@@ -51,7 +51,7 @@ use crate::stm32::{TIM15, TIM16, TIM2, TIM6};
51
51
feature = "stm32l4r9" ,
52
52
feature = "stm32l4s9" ,
53
53
) ) ]
54
- use crate :: stm32:: { TIM17 , TIM4 , TIM5 } ;
54
+ use crate :: stm32:: { TIM17 , TIM3 , TIM4 , TIM5 } ;
55
55
56
56
// TIM1/TIM8 ("Advcanced Control Timers") -> no impl
57
57
// TIM2/TIM3/TIM4/TIM5 ("General Purpose Timers")
@@ -267,31 +267,29 @@ hal! {
267
267
268
268
// missing PAC support
269
269
// RCC_APB1RSTR1->TIM3RST not defined
270
- /*
271
270
#[ cfg( any(
272
- feature = "stm32l451",
273
- feature = "stm32l452",
274
- feature = "stm32l462",
275
- feature = "stm32l471",
276
- feature = "stm32l475",
277
- feature = "stm32l476",
278
- feature = "stm32l485",
279
- feature = "stm32l486",
280
- feature = "stm32l496",
281
- feature = "stm32l4a6",
271
+ // feature = "stm32l451",
272
+ // feature = "stm32l452",
273
+ // feature = "stm32l462",
274
+ // feature = "stm32l471",
275
+ // feature = "stm32l475",
276
+ // feature = "stm32l476",
277
+ // feature = "stm32l485",
278
+ // feature = "stm32l486",
279
+ // feature = "stm32l496",
280
+ // feature = "stm32l4a6",
282
281
// feature = "stm32l4p5",
283
282
// feature = "stm32l4q5",
284
- // feature = "stm32l4r5",
283
+ feature = "stm32l4r5" ,
285
284
// feature = "stm32l4s5",
286
285
// feature = "stm32l4r7",
287
286
// feature = "stm32l4s7",
288
287
feature = "stm32l4r9" ,
289
288
feature = "stm32l4s9" ,
290
289
) ) ]
291
290
hal ! {
292
- TIM3: (tim3, free_running_tim3, tim3en, tim3rst, APB1R1, u32 ),
291
+ TIM3 : ( tim3, free_running_tim3, APB1R1 , u16 ) ,
293
292
}
294
- */
295
293
296
294
#[ cfg( not( any(
297
295
feature = "stm32l412" ,
@@ -313,7 +311,7 @@ hal! {
313
311
feature = "stm32l4a6" ,
314
312
// feature = "stm32l4p5",
315
313
// feature = "stm32l4q5",
316
- // feature = "stm32l4r5",
314
+ feature = "stm32l4r5" ,
317
315
// feature = "stm32l4s5",
318
316
// feature = "stm32l4r7",
319
317
// feature = "stm32l4s7",
0 commit comments