2.80 Power Manager (PM)

This Plib implements software abstraction for PM Peripheral.

Note: Not all APIs maybe implemented. See the specific device family section for available APIs.

Library Interface

Power Manager peripheral library provides the following interfaces:

Functions

NameDescription
PM_InitializeInitializes the PM
PM_IdleModeEnterPuts the device in Idle mode
PM_StandbyModeEnterPuts the device in standby mode
PM_HibernateModeEnterPuts the device in hibernate mode
PM_BackupModeEnterPuts the device in backup mode
PM_OffModeEnterPuts the device in off mode
PM_IO_RetentionSetTurns on I/O retention when exiting HIBERNATE or BACKUP mode
PM_IO_RetentionClearTurns off I/O retention. To be called after exiting HIBERNATE or BACKUP mode
PM_ResetCauseGetReports the cause of the last reset

Data types and constants

NameTypeDescription
PM_RESET_CAUSEEnumIdentifies the type of reset