19.5.1 I/O Lines
Using the External Wake-up Lines requires the I/O pins to be configured in input mode before entering backup mode. External Wake-up function is active only in backup mode.
CAUTION: The EXTWAKE pins can not
wake up the device after it has entered Battery Backup Mode, as the I/O pin configuration
is lost in this mode.