BPOR driver APIs.
More...
|
| enum | bpor_power_on_cause_t {
bpor_power_on_cause_wbutn = 1 << 0
, bpor_power_on_cause_safety_violation = 1 << 1
, bpor_power_on_cause_rtc_0 = 1 << 2
, bpor_power_on_cause_rtc_1 = 1 << 3
,
bpor_power_on_cause_gpio = 1 << 4
, bpor_power_on_cause_wbutn = 1 << 0
, bpor_power_on_cause_safety_violation = 1 << 1
, bpor_power_on_cause_rtc_0 = 1 << 2
,
bpor_power_on_cause_rtc_1 = 1 << 3
, bpor_power_on_cause_gpio = 1 << 4
, bpor_power_on_cause_wbutn = 1 << 0
, bpor_power_on_cause_safety_violation = 1 << 1
,
bpor_power_on_cause_rtc_0 = 1 << 2
, bpor_power_on_cause_rtc_1 = 1 << 3
, bpor_power_on_cause_gpio = 1 << 4
} |
| | Define BPOR power on cause. More...
|
| |
| enum | bpor_power_on_cause_t {
bpor_power_on_cause_wbutn = 1 << 0
, bpor_power_on_cause_safety_violation = 1 << 1
, bpor_power_on_cause_rtc_0 = 1 << 2
, bpor_power_on_cause_rtc_1 = 1 << 3
,
bpor_power_on_cause_gpio = 1 << 4
, bpor_power_on_cause_wbutn = 1 << 0
, bpor_power_on_cause_safety_violation = 1 << 1
, bpor_power_on_cause_rtc_0 = 1 << 2
,
bpor_power_on_cause_rtc_1 = 1 << 3
, bpor_power_on_cause_gpio = 1 << 4
, bpor_power_on_cause_wbutn = 1 << 0
, bpor_power_on_cause_safety_violation = 1 << 1
,
bpor_power_on_cause_rtc_0 = 1 << 2
, bpor_power_on_cause_rtc_1 = 1 << 3
, bpor_power_on_cause_gpio = 1 << 4
} |
| | Define BPOR power on cause. More...
|
| |
| enum | bpor_power_on_cause_t {
bpor_power_on_cause_wbutn = 1 << 0
, bpor_power_on_cause_safety_violation = 1 << 1
, bpor_power_on_cause_rtc_0 = 1 << 2
, bpor_power_on_cause_rtc_1 = 1 << 3
,
bpor_power_on_cause_gpio = 1 << 4
, bpor_power_on_cause_wbutn = 1 << 0
, bpor_power_on_cause_safety_violation = 1 << 1
, bpor_power_on_cause_rtc_0 = 1 << 2
,
bpor_power_on_cause_rtc_1 = 1 << 3
, bpor_power_on_cause_gpio = 1 << 4
, bpor_power_on_cause_wbutn = 1 << 0
, bpor_power_on_cause_safety_violation = 1 << 1
,
bpor_power_on_cause_rtc_0 = 1 << 2
, bpor_power_on_cause_rtc_1 = 1 << 3
, bpor_power_on_cause_gpio = 1 << 4
} |
| | Define BPOR power on cause. More...
|
| |
BPOR driver APIs.
◆ bpor_power_on_cause_t [1/3]
#include <soc/HPM6200/HPM6280/hpm_bpor_drv.h>
Define BPOR power on cause.
| Enumerator |
|---|
| bpor_power_on_cause_wbutn | |
| bpor_power_on_cause_safety_violation | |
| bpor_power_on_cause_rtc_0 | |
| bpor_power_on_cause_rtc_1 | |
| bpor_power_on_cause_gpio | |
| bpor_power_on_cause_wbutn | |
| bpor_power_on_cause_safety_violation | |
| bpor_power_on_cause_rtc_0 | |
| bpor_power_on_cause_rtc_1 | |
| bpor_power_on_cause_gpio | |
| bpor_power_on_cause_wbutn | |
| bpor_power_on_cause_safety_violation | |
| bpor_power_on_cause_rtc_0 | |
| bpor_power_on_cause_rtc_1 | |
| bpor_power_on_cause_gpio | |
◆ bpor_power_on_cause_t [2/3]
#include <soc/HPM6300/HPM6360/hpm_bpor_drv.h>
Define BPOR power on cause.
| Enumerator |
|---|
| bpor_power_on_cause_wbutn | |
| bpor_power_on_cause_safety_violation | |
| bpor_power_on_cause_rtc_0 | |
| bpor_power_on_cause_rtc_1 | |
| bpor_power_on_cause_gpio | |
| bpor_power_on_cause_wbutn | |
| bpor_power_on_cause_safety_violation | |
| bpor_power_on_cause_rtc_0 | |
| bpor_power_on_cause_rtc_1 | |
| bpor_power_on_cause_gpio | |
| bpor_power_on_cause_wbutn | |
| bpor_power_on_cause_safety_violation | |
| bpor_power_on_cause_rtc_0 | |
| bpor_power_on_cause_rtc_1 | |
| bpor_power_on_cause_gpio | |
◆ bpor_power_on_cause_t [3/3]
#include <soc/HPM6700/HPM6750/hpm_bpor_drv.h>
Define BPOR power on cause.
| Enumerator |
|---|
| bpor_power_on_cause_wbutn | |
| bpor_power_on_cause_safety_violation | |
| bpor_power_on_cause_rtc_0 | |
| bpor_power_on_cause_rtc_1 | |
| bpor_power_on_cause_gpio | |
| bpor_power_on_cause_wbutn | |
| bpor_power_on_cause_safety_violation | |
| bpor_power_on_cause_rtc_0 | |
| bpor_power_on_cause_rtc_1 | |
| bpor_power_on_cause_gpio | |
| bpor_power_on_cause_wbutn | |
| bpor_power_on_cause_safety_violation | |
| bpor_power_on_cause_rtc_0 | |
| bpor_power_on_cause_rtc_1 | |
| bpor_power_on_cause_gpio | |
◆ bpor_clear_power_on_cause()
| static void bpor_clear_power_on_cause |
( |
BPOR_Type * |
ptr, |
|
|
uint8_t |
mask |
|
) |
| |
|
inlinestatic |
◆ bpor_disable_power_on_cause()
◆ bpor_disable_reg_value_retention()
| static void bpor_disable_reg_value_retention |
( |
BPOR_Type * |
ptr | ) |
|
|
inlinestatic |
◆ bpor_enable_power_on_cause()
◆ bpor_enable_reg_value_retention()
| static void bpor_enable_reg_value_retention |
( |
BPOR_Type * |
ptr | ) |
|
|
inlinestatic |
◆ bpor_get_power_on_cause()
| static uint32_t bpor_get_power_on_cause |
( |
BPOR_Type * |
ptr | ) |
|
|
inlinestatic |
◆ bpor_is_reg_value_retention_enable()
| static bool bpor_is_reg_value_retention_enable |
( |
BPOR_Type * |
ptr | ) |
|
|
inlinestatic |
#include <soc/HPM6200/HPM6280/hpm_bpor_drv.h>
Check register value retention enable status when power down occurs.
- Parameters
-
- Returns
- true if register value retention is enabled, false otherwise.
◆ bpor_set_power_down_counter()
| static void bpor_set_power_down_counter |
( |
BPOR_Type * |
ptr, |
|
|
uint16_t |
counter |
|
) |
| |
|
inlinestatic |
◆ bpor_set_power_on_cause()
| static void bpor_set_power_on_cause |
( |
BPOR_Type * |
ptr, |
|
|
uint8_t |
cause |
|
) |
| |
|
inlinestatic |