HPM SDK
HPMicro Software Development Kit
BPOR driver APIs for HPM6880

BPOR driver APIs. More...

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...
 

Detailed Description

BPOR driver APIs.

Function Documentation

◆ bpor_disable_reg_value_retention()

static void bpor_disable_reg_value_retention ( BPOR_Type ptr)
inlinestatic

#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/soc/HPM6800/HPM6880/hpm_bpor_drv.h>

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

#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/soc/HPM6800/HPM6880/hpm_bpor_drv.h>

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

#include </home/docs/checkouts/readthedocs.org/user_builds/hpm-sdk/checkouts/latest/soc/HPM6800/HPM6880/hpm_bpor_drv.h>

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.