SmartSnippets DA1459x SDK
Functions
sys_power_mgr.h File Reference

Power Manager header file. More...

#include <stdint.h>
#include <stdbool.h>
#include "sdk_defs.h"

Go to the source code of this file.

Functions

void pm_set_wakeup_mode (bool wait_for_xtalm)
 Sets the wake-up mode of the system with respect to the system clock. More...
 
bool pm_get_wakeup_mode (void)
 Returns the wake-up mode of the system (whether the OS will be resumed with RC or XTAL). More...
 
void pm_set_sys_wakeup_mode (sys_wakeup_mode_t mode)
 Sets the wake-up mode of the system. More...
 
sys_wakeup_mode_t pm_get_sys_wakeup_mode (void)
 Returns the wake-up mode of the system. More...
 
uint8_t pm_get_sys_wakeup_cycles (void)
 Returns the number of LP clock cycles needed for wake-up. More...
 
__RETAINED_CODE void pm_prepare_sleep (sleep_mode_t sleep_mode)
 Prepare system for sleep. More...
 
__RETAINED_CODE void pm_resume_from_sleep (void)
 Perform initialization after wake-up. More...
 

Detailed Description

Power Manager header file.

Copyright (C) 2017-2023 Renesas Electronics Corporation and/or its affiliates. All rights reserved. Confidential Information.

This software ("Software") is supplied by Renesas Electronics Corporation and/or its affiliates ("Renesas"). Renesas grants you a personal, non-exclusive, non-transferable, revocable, non-sub-licensable right and license to use the Software, solely if used in or together with Renesas products. You may make copies of this Software, provided this copyright notice and disclaimer ("Notice") is included in all such copies. Renesas reserves the right to change or discontinue the Software at any time without notice.

THE SOFTWARE IS PROVIDED "AS IS". RENESAS DISCLAIMS ALL WARRANTIES OF ANY KIND, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. TO THE MAXIMUM EXTENT PERMITTED UNDER LAW, IN NO EVENT SHALL RENESAS BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE, EVEN IF RENESAS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. USE OF THIS SOFTWARE MAY BE SUBJECT TO TERMS AND CONDITIONS CONTAINED IN AN ADDITIONAL AGREEMENT BETWEEN YOU AND RENESAS. IN CASE OF CONFLICT BETWEEN THE TERMS OF THIS NOTICE AND ANY SUCH ADDITIONAL LICENSE AGREEMENT, THE TERMS OF THE AGREEMENT SHALL TAKE PRECEDENCE. BY CONTINUING TO USE THIS SOFTWARE, YOU AGREE TO THE TERMS OF THIS NOTICE.IF YOU DO NOT AGREE TO THESE TERMS, YOU ARE NOT PERMITTED TO USE THIS SOFTWARE.