IO DLPS Exported Functions

group IO_DLPS_Exported_Functions

Functions

void DLPS_IORegister(void)

Register io restore function in dlps mode.

void DLPS_IORegUserDlpsExitCb(DLPS_IO_ExitDlpsCB func)

This API registers a user-defined callback for DLPS exit stage, which allows IO restore action by APP.

参数:

func -- User-defined DLPS exit stage callback functon.

void DLPS_IORegUserDlpsEnterCb(DLPS_IO_EnterDlpsCB func)

This API registers a user-defined callback for DLPS enter stage, which allows IO store action by APP. Do not perform time-consuming operations in the DLPS enter callback, as it may disturb the DLPS wake-up process. Since the OS schedule and interrupts are disabled during DLPS, it is forbidden to use OS APIs in the DLPS enter callback function.

参数:

func -- User-defined DLPS enter stage callback functon.

Variables

DLPS_IO_ExitDlpsCB User_IO_ExitDlpsCB
DLPS_IO_EnterDlpsCB User_IO_EnterDlpsCB