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