◆ IS_PWR_COMM_CORE_MODE
#define IS_PWR_COMM_CORE_MODE |
( |
|
__MODE__ | ) |
|
Value:
Check if PWR BLE communication core mode is valid.
- Parameters
-
<strong>MODE</strong> | PWR BLE communication core mode. |
- Return values
-
SET | (MODE is valid) or RESET (MODE is invalid) |
Definition at line 285 of file gr55xx_hal_pwr.h.
◆ IS_PWR_COMM_CORE_POWER_STAT
#define IS_PWR_COMM_CORE_POWER_STAT |
( |
|
__STATE__ | ) |
|
Value:
Check if PWR BLE communication core power state is valid.
- Parameters
-
<strong>STATE</strong> | PWR BLE communication core power state. |
- Return values
-
SET | (STATE is valid) or RESET (STATE is invalid) |
Definition at line 269 of file gr55xx_hal_pwr.h.
◆ IS_PWR_COMM_TIMER_MODE
#define IS_PWR_COMM_TIMER_MODE |
( |
|
__MODE__ | ) |
|
Value:
Check if PWR BLE communication timer mode is valid.
- Parameters
-
<strong>MODE</strong> | PWR BLE communication timer mode. |
- Return values
-
SET | (MODE is valid) or RESET (MODE is invalid) |
Definition at line 277 of file gr55xx_hal_pwr.h.
◆ IS_PWR_COMM_TIMER_POWER_STAT
#define IS_PWR_COMM_TIMER_POWER_STAT |
( |
|
__STATE__ | ) |
|
Value:
Check if PWR BLE communication timer power state is valid.
- Parameters
-
<strong>STATE</strong> | PWR BLE communication timer power state. |
- Return values
-
SET | (STATE is valid) or RESET (STATE is invalid) |
Definition at line 261 of file gr55xx_hal_pwr.h.
◆ IS_PWR_EXT_WAKEUP_PIN
#define IS_PWR_EXT_WAKEUP_PIN |
( |
|
__PIN__ | ) |
|
Value:
Check if PWR external wakeup pin is valid.
- Parameters
-
<strong>PIN</strong> | PWR external wakeup pin. |
- Return values
-
SET | (PIN is valid) or RESET (PIN is invalid) |
Definition at line 216 of file gr55xx_hal_pwr.h.
◆ IS_PWR_EXTWKUP_TYPE
#define IS_PWR_EXTWKUP_TYPE |
( |
|
__TYPE__ | ) |
|
Value:
Check if PWR external wakeup type is valid.
- Parameters
-
<strong>TYPE</strong> | PWR external wakeup type. |
- Return values
-
SET | (TYPE is valid) or RESET (TYPE is invalid) |
Definition at line 234 of file gr55xx_hal_pwr.h.
◆ IS_PWR_MEM_BLOCK
#define IS_PWR_MEM_BLOCK |
( |
|
__BLOCK__ | ) |
|
Value: ((((__BLOCK__) & PWR_MEM_ALL) != 0x00U) &&\
(((__BLOCK__) & ~PWR_MEM_ALL) == 0x00U))
Check if PWR memory block is valid.
- Parameters
-
<strong>BLOCK</strong> | PWR memory block. |
- Return values
-
SET | (BLOCK is valid) or RESET (BLOCK is invalid) |
Definition at line 244 of file gr55xx_hal_pwr.h.
◆ IS_PWR_MEM_POWER_STAT
#define IS_PWR_MEM_POWER_STAT |
( |
|
__STATE__ | ) |
|
Value:
Check if PWR memory power state is valid.
- Parameters
-
<strong>STATE</strong> | PWR memory power state. |
- Return values
-
SET | (STATE is valid) or RESET (STATE is invalid) |
Definition at line 252 of file gr55xx_hal_pwr.h.
◆ IS_PWR_PWR_TIMER_TYPE
#define IS_PWR_PWR_TIMER_TYPE |
( |
|
__TYPE__ | ) |
|
Value:
Check if PWR sleep timer type is valid.
- Parameters
-
<strong>TYPE</strong> | PWR sleep timer type. |
- Return values
-
SET | (TYPE is valid) or RESET (TYPE is invalid) |
Definition at line 293 of file gr55xx_hal_pwr.h.
◆ IS_PWR_SLP_TIMER_MODE
#define IS_PWR_SLP_TIMER_MODE |
( |
|
__MODE__ | ) |
|
Value:
Check if PWR sleep timer mode is valid.
- Parameters
-
<strong>MODE</strong> | PWR sleep timer mode. |
- Return values
-
SET | (MODE is valid) or RESET (MODE is invalid) |
Definition at line 224 of file gr55xx_hal_pwr.h.
◆ IS_PWR_WAKEUP_CONDITION
#define IS_PWR_WAKEUP_CONDITION |
( |
|
__COND__ | ) |
|
Value:
Check if PWR wakeup condition is valid.
- Parameters
-
<strong>COND</strong> | PWR wakeup condition. |
- Return values
-
SET | (COND is valid) or RESET (COND is invalid) |
Definition at line 208 of file gr55xx_hal_pwr.h.
#define PWR_WKUP_COND_ALL
All wakeup sources mask
#define PWR_EXTWKUP_TYPE_FALLING
Falling edge wakeup.
#define PWR_TIMER_TYPE_CAL_TIMER
Calendar timer
#define PWR_EXTWKUP_TYPE_HIGH
High level wakeup.
#define PWR_EXTWKUP_TYPE_LOW
Low level wakeup.
#define PWR_MEM_POWER_FULL
Full power.
#define PWR_COMM_TIMER_POWER_UP
Power on communication timer.
#define PWR_SLP_TIMER_MODE_RELOAD
Auto reload
#define PWR_COMM_CORE_MODE_RESET
Communication core in reset mode.
#define PWR_SLP_TIMER_MODE_NORMAL
Start counting after sleeping and disabled when waked up.
#define PWR_TIMER_TYPE_SLP_TIMER
Sleep timer
#define PWR_TIMER_TYPE_AON_WDT
AON watchdog timer.
#define PWR_COMM_TIMER_POWER_DOWN
Power down communication timer.
#define PWR_COMM_TIMER_MODE_RUNNING
Communication timer in running mode.
#define PWR_EXTWKUP_PIN_ALL
External wakeup pin 0 ~ 7.
#define PWR_COMM_CORE_MODE_RUNNING
Communication core in running mode.
#define PWR_COMM_TIMER_MODE_RESET
Communication timer in reset mode.
#define PWR_MEM_POWER_RETENTION
Power retention, low valtage mode.
#define PWR_COMM_CORE_POWER_DOWN
Power down communication core.
#define PWR_SLP_TIMER_MODE_SINGLE
Single mode(keep counting until finished)
#define PWR_TIMER_TYPE_CAL_ALARM
Calendar timer
#define PWR_MEM_POWER_OFF
Power off.
#define PWR_COMM_CORE_POWER_UP
Power on communication core.
#define PWR_SLP_TIMER_MODE_DISABLE
Disabled (used for reset mode)
#define PWR_EXTWKUP_TYPE_RISING
Rising edge wakeup.