#include <stdbool.h>
#include <stdint.h>
#include "../inc/hw_types.h"
#include "../inc/hw_memmap.h"
#include "../inc/hw_memmap_common.h"
#include "../inc/hw_aon_pmctl.h"
#include "debug.h"
Macros | |
#define | MCU_RAM_RET_NONE AON_PMCTL_RAMCFG_BUS_SRAM_RET_EN_RET_NONE |
#define | MCU_RAM_RET_LVL1 AON_PMCTL_RAMCFG_BUS_SRAM_RET_EN_RET_LEVEL1 |
#define | MCU_RAM_RET_LVL2 AON_PMCTL_RAMCFG_BUS_SRAM_RET_EN_RET_LEVEL2 |
#define | MCU_RAM_RET_LVL3 AON_PMCTL_RAMCFG_BUS_SRAM_RET_EN_RET_LEVEL3 |
#define | MCU_RAM_RET_FULL AON_PMCTL_RAMCFG_BUS_SRAM_RET_EN_RET_FULL |
#define | AONPMCTL_JTAG_POWER_ON AON_PMCTL_PWRSTAT_JTAG_PD_ON |
Functions | |
static void | AONPMCTLMcuSRamRetConfig (uint32_t ui32Retention) |
Configure the retention on the block SRAM in the MCU BUS domain. More... | |
static uint32_t | AONPMCTLPowerStatusGet (void) |
Get the power status of the Always On (AON) domain. More... | |
static void | AONPMCTLJtagPowerOff (void) |
Request power off of the JTAG domain. More... | |