stm32/extint: Fix RTC Alarm/FS USB EXTI constants for L4.
This commit is contained in:
parent
363900be5d
commit
9441f4b682
@ -154,8 +154,13 @@ STATIC const uint8_t nvic_irq_channel[EXTI_NUM_VECTORS] = {
|
||||
#else
|
||||
PVD_IRQn,
|
||||
#endif
|
||||
#if defined(STM32L4)
|
||||
OTG_FS_WKUP_IRQn,
|
||||
RTC_Alarm_IRQn,
|
||||
#else
|
||||
RTC_Alarm_IRQn,
|
||||
OTG_FS_WKUP_IRQn,
|
||||
#endif
|
||||
ETH_WKUP_IRQn,
|
||||
OTG_HS_WKUP_IRQn,
|
||||
TAMP_STAMP_IRQn,
|
||||
|
@ -34,8 +34,13 @@
|
||||
// Use the following constants for the internal sources:
|
||||
|
||||
#define EXTI_PVD_OUTPUT (16)
|
||||
#if defined(STM32L4)
|
||||
#define EXTI_RTC_ALARM (18)
|
||||
#define EXTI_USB_OTG_FS_WAKEUP (17)
|
||||
#else
|
||||
#define EXTI_RTC_ALARM (17)
|
||||
#define EXTI_USB_OTG_FS_WAKEUP (18)
|
||||
#endif
|
||||
#define EXTI_ETH_WAKEUP (19)
|
||||
#define EXTI_USB_OTG_HS_WAKEUP (20)
|
||||
#if defined(STM32F0) || defined(STM32L4)
|
||||
|
Loading…
x
Reference in New Issue
Block a user