787 changed files with
7083 additions and
7083 deletions
|
|
|
|
@ -1,25 +1,25 @@
|
|
|
|
|
/* SYS_WKUP */
|
|
|
|
|
/* SYS_WKUP */
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN1
|
|
|
|
|
SYS_WKUP1 = PA_0,
|
|
|
|
|
SYS_WKUP1 = PA_0,
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN2
|
|
|
|
|
SYS_WKUP2 = PC_13,
|
|
|
|
|
SYS_WKUP2 = PC_13,
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN3
|
|
|
|
|
SYS_WKUP3 = NC,
|
|
|
|
|
SYS_WKUP3 = NC,
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN4
|
|
|
|
|
SYS_WKUP4 = NC,
|
|
|
|
|
SYS_WKUP4 = NC,
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN5
|
|
|
|
|
SYS_WKUP5 = NC,
|
|
|
|
|
SYS_WKUP5 = NC,
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN6
|
|
|
|
|
SYS_WKUP6 = NC,
|
|
|
|
|
SYS_WKUP6 = NC,
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN7
|
|
|
|
|
SYS_WKUP7 = NC,
|
|
|
|
|
SYS_WKUP7 = NC,
|
|
|
|
|
#endif
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN8
|
|
|
|
|
SYS_WKUP8 = NC,
|
|
|
|
|
SYS_WKUP8 = NC,
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
@ -1,25 +1,25 @@
|
|
|
|
|
/* SYS_WKUP */
|
|
|
|
|
/* SYS_WKUP */
|
|
|
|
|
#ifdef PWR_WAKEUP_PIN1
|
|
|
|
|
SYS_WKUP1 = PA_0,
|
|
|
|
|
SYS_WKUP1 = PA_0,
|
|
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