pm_manage

Function pm_manage 

Source
pub fn pm_manage(mode: CPUSleep) -> Status
Expand description

Configure the CPU’s sleep behaviour.

The mode parameters toggles between the two traditional wake-up modes for ARM CPUs:

  • wait for interrupt (wfi)
  • wait for event (wfe)

it also accepts two other mode values that enable or prevent the CPU from sleeping.