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
Name | Description |
---|---|
PM_Initialize | Initializes the PM |
PM_IdleModeEnter | Puts the device in Idle mode |
PM_StandbyModeEnter | Puts the device in standby mode |
PM_HibernateModeEnter | Puts the device in hibernate mode |
PM_BackupModeEnter | Puts the device in backup mode |
PM_OffModeEnter | Puts the device in off mode |
PM_IO_RetentionSet | Turns on I/O retention when exiting HIBERNATE or BACKUP mode |
PM_IO_RetentionClear | Turns off I/O retention. To be called after exiting HIBERNATE or BACKUP mode |
PM_ResetCauseGet | Reports the cause of the last reset |
Data types and constants
Name | Type | Description |
---|---|---|
PM_RESET_CAUSE | Enum | Identifies the type of reset |