/***************************************************************************//**
* @file
* @brief Power Manager configuration file.
*******************************************************************************
* # License
* Copyright 2020 Silicon Laboratories Inc. www.silabs.com
*******************************************************************************
*
* SPDX-License-Identifier: Zlib
*
* The licensor of this software is Silicon Laboratories Inc.
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
*
* Permission is granted to anyone to use this software for any purpose,
* including commercial applications, and to alter it and redistribute it
* freely, subject to the following restrictions:
*
* 1. The origin of this software must not be misrepresented; you must not
* claim that you wrote the original software. If you use this software
* in a product, an acknowledgment in the product documentation would be
* appreciated but is not required.
* 2. Altered source versions must be plainly marked as such, and must not be
* misrepresented as being the original software.
* 3. This notice may not be removed or altered from any source distribution.
*
******************************************************************************/
// <<< Use Configuration Wizard in Context Menu >>>
#ifndef SL_POWER_MANAGER_CONFIG_H
#define SL_POWER_MANAGER_CONFIG_H
// Power Manager Configuration
// Enable custom IRQ handler for external HF oscillator.
// Enable if CMU_IRQHandler/HFXO0_IRQHandler is needed from your application.
// The function sl_power_manager_irq_handler() will have to be called from you custom handler if this is enabled.
// Default: 0
#define SL_POWER_MANAGER_CUSTOM_HF_OSCILLATOR_IRQ_HANDLER 0
// Enable fast wakeup (disable voltage scaling in EM2/3 mode)
// Enable or disable voltage scaling in EM2/3 modes (when available). This decreases wakeup time by about 30 us.
// Deprecated. It is replaced by the function sl_power_manager_em23_voltage_scaling_enable_fast_wakeup()
// Default: 0
#define SL_POWER_MANAGER_CONFIG_VOLTAGE_SCALING_FAST_WAKEUP 0
// Enable debugging feature
// Enable or disable debugging features (trace the different modules that have requirements).
// Default: 0
#define SL_POWER_MANAGER_DEBUG 0
// Maximum numbers of requirements that can be logged
// Default: 10
#define SL_POWER_MANAGER_DEBUG_POOL_SIZE 10
//
// Pin retention mode
//
// No retention
// Retention through EM4
// Retention through EM4 and wakeup
// power_manager_pin_retention_disable
#define SL_POWER_MANAGER_INIT_EMU_EM4_PIN_RETENTION_MODE EMU_EM4CTRL_EM4IORETMODE_DISABLE
// Enable EM2 debugging feature
// Enable or disable debugging features.
// Default: 1
#define SL_POWER_MANAGER_INIT_EMU_EM2_DEBUG_ENABLE 1
//
//
#endif /* SL_POWER_MANAGER_CONFIG_H */
// <<< end of configuration section >>>