HPM SDK
HPMicro Software Development Kit
hpm_bpor_drv.h File Reference
#include "hpm_common.h"
#include "hpm_bpor_regs.h"

Go to the source code of this file.

Functions

static bool bpor_is_reg_value_retention_enable (BPOR_Type *ptr)
 Check register value retention enable status when power down occurs. More...
 
static void bpor_enable_reg_value_retention (BPOR_Type *ptr)
 Enable register value retention when power down occurs. More...
 
static void bpor_disable_reg_value_retention (BPOR_Type *ptr)
 Disable register value retention when power down occurs. More...
 

Function Documentation

◆ bpor_disable_reg_value_retention()

static void bpor_disable_reg_value_retention ( BPOR_Type ptr)
inlinestatic

Disable register value retention when power down occurs.

Parameters
[in]ptrBPOR base address

◆ bpor_enable_reg_value_retention()

static void bpor_enable_reg_value_retention ( BPOR_Type ptr)
inlinestatic

Enable register value retention when power down occurs.

Parameters
[in]ptrBPOR base address

◆ bpor_is_reg_value_retention_enable()

static bool bpor_is_reg_value_retention_enable ( BPOR_Type ptr)
inlinestatic

Check register value retention enable status when power down occurs.

Parameters
[in]ptrBPOR base address
Returns
true if register value retention is enabled, false otherwise.