File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -563,6 +563,32 @@ macro_rules! impl_comparator {
563
563
564
564
impl_comparator ! ( COMP1 , comp1, ExtiEvent :: COMP1 ) ;
565
565
impl_comparator ! ( COMP2 , comp2, ExtiEvent :: COMP2 ) ;
566
+ impl_comparator ! ( COMP3 , comp1, ExtiEvent :: COMP3 ) ;
567
+ impl_comparator ! ( COMP4 , comp2, ExtiEvent :: COMP4 ) ;
568
+
569
+ #[ cfg( any(
570
+ feature = "stm32g473" ,
571
+ feature = "stm32g483" ,
572
+ feature = "stm32g474" ,
573
+ feature = "stm32g484"
574
+ ) ) ]
575
+ impl_comparator ! ( COMP5 , comp1, ExtiEvent :: COMP5 ) ;
576
+
577
+ #[ cfg( any(
578
+ feature = "stm32g473" ,
579
+ feature = "stm32g483" ,
580
+ feature = "stm32g474" ,
581
+ feature = "stm32g484"
582
+ ) ) ]
583
+ impl_comparator ! ( COMP6 , comp2, ExtiEvent :: COMP6 ) ;
584
+
585
+ #[ cfg( any(
586
+ feature = "stm32g473" ,
587
+ feature = "stm32g483" ,
588
+ feature = "stm32g474" ,
589
+ feature = "stm32g484"
590
+ ) ) ]
591
+ impl_comparator ! ( COMP7 , comp2, ExtiEvent :: COMP7 ) ;
566
592
567
593
/*
568
594
/// Uses two comparators to implement a window comparator.
You can’t perform that action at this time.
0 commit comments