2018-11-30 14:58:13 +00:00
|
|
|
/* SYS_WKUP */
|
2018-04-30 15:50:20 +00:00
|
|
|
#ifdef PWR_WAKEUP_PIN1
|
2018-11-30 14:58:13 +00:00
|
|
|
SYS_WKUP1 = PA_0,
|
2018-04-30 15:50:20 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN2
|
2018-11-30 14:58:13 +00:00
|
|
|
SYS_WKUP2 = PC_13,
|
2018-04-30 15:50:20 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN3
|
2018-11-30 14:58:13 +00:00
|
|
|
SYS_WKUP3 = PE_6,
|
2018-04-30 15:50:20 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN4
|
2018-11-30 14:58:13 +00:00
|
|
|
SYS_WKUP4 = NC,
|
2018-04-30 15:50:20 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN5
|
2018-11-30 14:58:13 +00:00
|
|
|
SYS_WKUP5 = NC,
|
2018-04-30 15:50:20 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN6
|
2018-11-30 14:58:13 +00:00
|
|
|
SYS_WKUP6 = NC,
|
2018-04-30 15:50:20 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN7
|
2018-11-30 14:58:13 +00:00
|
|
|
SYS_WKUP7 = NC,
|
2018-04-30 15:50:20 +00:00
|
|
|
#endif
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN8
|
2018-11-30 14:58:13 +00:00
|
|
|
SYS_WKUP8 = NC,
|
2018-12-08 15:03:16 +00:00
|
|
|
#endif
|
|
|
|
|
/* USB */
|
|
|
|
|
#ifdef USBCON
|
|
|
|
|
USB_DM = PA_11,
|
|
|
|
|
USB_DP = PA_12,
|
2018-04-30 15:50:20 +00:00
|
|
|
#endif
|