17.3.5 Sleep Mode Operation
Except for interrupts and input synchronization, all pin configurations are independent of sleep modes. All pins can wake the device from sleep, see the PORT Interrupt section for further details.
Peripherals connected to the PORTs can be affected by sleep modes, described in the respective peripherals’ data sheet section.
Important: The PORTs will always
use the Peripheral Clock (CLK_PER). Input synchronization will halt when this clock
stops.