IO DLPS Exported Functions

group IO_DLPS_Exported_Functions

Functions

void DLPS_IORegister(void)

Register io restore function in dlps mode.

Example usage

void pwr_mgr_init(void)
{
    dlps_check_cb_reg(app_dlps_check_cb);
    DLPS_IORegUserDlpsEnterCb(app_enter_dlps_config);
    DLPS_IORegUserDlpsExitCb(app_exit_dlps_config);
    DLPS_IORegister();
    lps_mode_set(PLATFORM_DLPS_PFM);
}
Returns:

None

void DLPS_IORegUserDlpsExitCb(DLPS_IO_ExitDlpsCB func)

Register user-defined exit dlps callback function.

Example usage

void pwr_mgr_init(void)
{
    dlps_check_cb_reg(app_dlps_check_cb);
    DLPS_IORegUserDlpsEnterCb(app_enter_dlps_config);
    DLPS_IORegUserDlpsExitCb(app_exit_dlps_config);
    DLPS_IORegister();
    lps_mode_set(PLATFORM_DLPS_PFM);
}
Parameters:

func -- [in] User-defined callback function.

Returns:

None

void DLPS_IORegUserDlpsEnterCb(DLPS_IO_EnterDlpsCB func)

Register user-defined enter dlps callback function.

Example usage

void pwr_mgr_init(void)
{
    dlps_check_cb_reg(app_dlps_check_cb);
    DLPS_IORegUserDlpsEnterCb(app_enter_dlps_config);
    DLPS_IORegUserDlpsExitCb(app_exit_dlps_config);
    DLPS_IORegister();
    lps_mode_set(PLATFORM_DLPS_PFM);
}
Parameters:

func -- [in] User-defined callback function.

Returns:

None

Variables

DLPS_IO_ExitDlpsCB User_IO_ExitDlpsCB
DLPS_IO_EnterDlpsCB User_IO_EnterDlpsCB