2020-07-30 06:43:19 +00:00
|
|
|
/* SYS_WKUP */
|
2021-08-30 22:02:12 +00:00
|
|
|
#if defined(PWR_WAKEUP_PIN1) && defined(HAL_PWR_MODULE_ENABLED) && !defined(HAL_PWR_MODULE_ONLY)
|
|
|
|
#error "PA0 is used by thermal sensor. Disable low power wake with -DHAL_PWR_MODULE_ONLY."
|
2020-07-30 06:43:19 +00:00
|
|
|
SYS_WKUP1 = PA_0,
|
|
|
|
#endif
|
|
|
|
#ifdef PWR_WAKEUP_PIN2
|
|
|
|
SYS_WKUP2 = NC,
|
|
|
|
#endif
|
|
|
|
#ifdef PWR_WAKEUP_PIN3
|
|
|
|
SYS_WKUP3 = NC,
|
|
|
|
#endif
|
|
|
|
#ifdef PWR_WAKEUP_PIN4
|
|
|
|
SYS_WKUP4 = NC,
|
|
|
|
#endif
|
|
|
|
#ifdef PWR_WAKEUP_PIN5
|
|
|
|
SYS_WKUP5 = NC,
|
|
|
|
#endif
|
|
|
|
#ifdef PWR_WAKEUP_PIN6
|
|
|
|
SYS_WKUP6 = NC,
|
|
|
|
#endif
|
|
|
|
#ifdef PWR_WAKEUP_PIN7
|
|
|
|
SYS_WKUP7 = NC,
|
|
|
|
#endif
|
|
|
|
#ifdef PWR_WAKEUP_PIN8
|
|
|
|
SYS_WKUP8 = NC,
|
|
|
|
#endif
|
|
|
|
/* USB */
|
|
|
|
#ifdef USBCON
|
|
|
|
USB_DM = PA_11,
|
|
|
|
USB_DP = PA_12,
|
|
|
|
#endif
|