1.2.16.7 1.3.18.6 1.4.16.6 1.5.17.6 1.9.15.7 1.29.17.6 1.32.19.7 1.38.16.6 1.39.13.6 1.40.15.6 PM_IO_RetentionSet Function

C

void PM_IO_RetentionSet( void );

Summary

Turns on I/O retention when exiting HIBERNATE or BACKUP mode.

Description

If this function is called before entering HIBERNATE or BACKUP mode, then while exiting the sleep, the configuration of the I/O lines is retained until PM_IO_RetentionClear() is called. Refer the bit description of PM->CTRLA.IORET in datasheet before using this function. When IORET is enabled, SWD access to the device will not be available after waking up from Hibernate/Backup sleep until the bit is cleared by the application.

Precondition

None.

Parameters

None.

Returns

None.

Example

PM_IO_RetentionSet();

Remarks

None.