+ Collaboration diagram for Variables:

Variables

volatile uint32_t g_devices_state
 All peripheral status.When all are idle, the system can sleep. More...
 
volatile uint32_t g_devices_renew
 Peripheral updata flag.If peripherals have been used, they need to be backed up. More...
 
volatile uint32_t g_devices_sleep
 Peripheral sleep flag.Go to sleep as 0xFFFFFFFF.The corresponding bit is cleared to 0 after wake-up recovery. More...
 
p_device_suspend_func devices_suspend_cb [MAX_PERIPH_DEVICE_NUM]
 Store the suspend function of all peripherals. More...
 
p_device_resume_func devices_resume_cb [MAX_PERIPH_DEVICE_NUM]
 Store the resume function of all peripherals. More...
 
void * devices_handle [MAX_PERIPH_DEVICE_NUM]
 Store the handle addresses of all peripheral instances. More...
 
volatile uint32_t g_extra_devices_state
 All extra devices status.When all are idle, the system can sleep. More...
 
volatile uint32_t g_extra_devices_renew
 Extra devices updata flag.If extra devices have been used, they need to be backed up. More...
 
p_device_suspend_func extra_devices_suspend_cb [MAX_EXTRA_DEVICE_NUM]
 Store the suspend function of all extra devices. More...
 
p_device_resume_func extra_devices_resume_cb [MAX_EXTRA_DEVICE_NUM]
 Store the resume function of all extra devices. More...
 
void * extra_devices_handle [MAX_EXTRA_DEVICE_NUM]
 Store the handle addresses of all extra devices instances. More...
 

Detailed Description

Variable Documentation

◆ devices_handle

void* devices_handle[MAX_PERIPH_DEVICE_NUM]
extern

Store the handle addresses of all peripheral instances.

◆ devices_resume_cb

p_device_resume_func devices_resume_cb[MAX_PERIPH_DEVICE_NUM]
extern

Store the resume function of all peripherals.

◆ devices_suspend_cb

p_device_suspend_func devices_suspend_cb[MAX_PERIPH_DEVICE_NUM]
extern

Store the suspend function of all peripherals.

◆ extra_devices_handle

void* extra_devices_handle[MAX_EXTRA_DEVICE_NUM]
extern

Store the handle addresses of all extra devices instances.

◆ extra_devices_resume_cb

p_device_resume_func extra_devices_resume_cb[MAX_EXTRA_DEVICE_NUM]
extern

Store the resume function of all extra devices.

◆ extra_devices_suspend_cb

p_device_suspend_func extra_devices_suspend_cb[MAX_EXTRA_DEVICE_NUM]
extern

Store the suspend function of all extra devices.

◆ g_devices_renew

volatile uint32_t g_devices_renew
extern

Peripheral updata flag.If peripherals have been used, they need to be backed up.

◆ g_devices_sleep

volatile uint32_t g_devices_sleep
extern

Peripheral sleep flag.Go to sleep as 0xFFFFFFFF.The corresponding bit is cleared to 0 after wake-up recovery.

◆ g_devices_state

volatile uint32_t g_devices_state
extern

All peripheral status.When all are idle, the system can sleep.

◆ g_extra_devices_renew

volatile uint32_t g_extra_devices_renew
extern

Extra devices updata flag.If extra devices have been used, they need to be backed up.

◆ g_extra_devices_state

volatile uint32_t g_extra_devices_state
extern

All extra devices status.When all are idle, the system can sleep.