Function Description

Clock and Reset

PCLK and PRESETN are corresponding to registers. POR and pad_reset can reset the whole module.

Power Mode Switch

The PMU module accept software or hardware encourage to switch the power mode. only two operation to launch a power mode switching: Configure power mode, and turn-on or turn-off sequence configuration. PMU module launch p-channel (maskable) and PMU cell sequence.

Programming model:

SW encourage Turn-on sequence
  1. Configure the register SW turn-on power mode (offset 0x0c), write the bit 1 which power domain will be turn-on, write the others 0;

  2. Write the SW Turn-on command sequence. Write the register Software encourage (offset 0x44) 0xff –> 0x05 –> 0x50

SW encourage Turn-off sequence
  1. Configure the register SW turn-off power mode (offset 0x10), write the bit 1 which power domain will be turn-off, write the others 0;

  2. Write the SW Turn-off command sequence. write the register Software encourage (offset 0x44) 0xff –> 0x0a –> 0xa0

HW encourage Turn-on sequence
  1. Configure the register HW turn-on power mode (offset 0x5c), write the bit 1 which power domain will be turn-on, write the others 0;

  2. Configure the mask of HW event. write the Hardware Event Turn-on Mask (0x04) bit to 0 to enable HW event trigger off a Turn-on sequence. See Hardware Event Turn-On Mask for more information.

Interrupt

PMU has a interrupt type with 9 event status. See the register Interrupts Status (offset 0x8c) for more information.