Functions
Functions
Peripheral Driver » APP DRIVER » PWR MGMT
Collaboration diagram for Functions:

## Functions
pwr_id_t | pwr_register_sleep_cb (const app_sleep_callbacks_t *p_cb, wakeup_priority_t wakeup_priority)
| set PWR sleep callback function More...
void | pwr_unregister_sleep_cb (pwr_id_t id)
| Unregister PWR sleep callback function. More...
void | pwr_wake_up_ind (void)
| Things to do after waking up. More...
pwr_mgmt_dev_state_t | pwr_enter_sleep_check (void)
| Check peripheral status before going to sleep. More...

## Detailed Description

## Function Documentation

## ◆ pwr_enter_sleep_check()

pwr_mgmt_dev_state_t pwr_enter_sleep_check | ( | void |  | ) |

Check peripheral status before going to sleep.

## ◆ pwr_register_sleep_cb()

pwr_id_t pwr_register_sleep_cb | ( | const app_sleep_callbacks_t * | p_cb,
|  | wakeup_priority_t | wakeup_priority
| ) |  |

set PWR sleep callback function

Parameters

  p_cb | : Device check callback function
  wakeup_priority | : Device wakeup priority

Returns
  ID

## ◆ pwr_unregister_sleep_cb()

void pwr_unregister_sleep_cb | ( | pwr_id_t | id | ) |

Unregister PWR sleep callback function.

Parameters

  id | : which id want to unregister

## ◆ pwr_wake_up_ind()

void pwr_wake_up_ind | ( | void |  | ) |

Things to do after waking up.