1 /***************************************************************************//** 2 * @file 3 * @brief HFXO Manager configuration file. 4 ******************************************************************************* 5 * # License 6 * <b>Copyright 2020 Silicon Laboratories Inc. www.silabs.com</b> 7 ******************************************************************************* 8 * 9 * SPDX-License-Identifier: Zlib 10 * 11 * The licensor of this software is Silicon Laboratories Inc. 12 * 13 * This software is provided 'as-is', without any express or implied 14 * warranty. In no event will the authors be held liable for any damages 15 * arising from the use of this software. 16 * 17 * Permission is granted to anyone to use this software for any purpose, 18 * including commercial applications, and to alter it and redistribute it 19 * freely, subject to the following restrictions: 20 * 21 * 1. The origin of this software must not be misrepresented; you must not 22 * claim that you wrote the original software. If you use this software 23 * in a product, an acknowledgment in the product documentation would be 24 * appreciated but is not required. 25 * 2. Altered source versions must be plainly marked as such, and must not be 26 * misrepresented as being the original software. 27 * 3. This notice may not be removed or altered from any source distribution. 28 * 29 ******************************************************************************/ 30 31 // <<< Use Configuration Wizard in Context Menu >>> 32 33 #ifndef SL_HFXO_MANAGER_CONFIG_H 34 #define SL_HFXO_MANAGER_CONFIG_H 35 36 // <h>Power Manager Configuration 37 38 // <q SL_HFXO_MANAGER_CUSTOM_HFXO_IRQ_HANDLER> Enable custom IRQ handler for crystal HF oscillator. 39 // <i> Enable if HFXO0_IRQHandler is needed from your application. 40 // <i> The HFXO IRQ priority must not be changed as the HFXO Manager module needs it to be high priority 41 // <i> and to stay enabled through atomic sections. 42 // <i> The function sl_hfxo_manager_irq_handler() will have to be called from you custom handler if this is enabled. 43 // <i> Default: 0 44 #define SL_HFXO_MANAGER_CUSTOM_HFXO_IRQ_HANDLER 0 45 46 // <q SL_HFXO_MANAGER_SLEEPY_CRYSTAL_SUPPORT> Enable support for Sleepy Crystals. 47 // <i> If Enabled and if HFXO fails to startup due to a sleepy crystal, HFXO Manager will retry the startup with more aggressive settings 48 // <i> before falling back to the configured settings. 49 // <i> Default: 0 50 #define SL_HFXO_MANAGER_SLEEPY_CRYSTAL_SUPPORT 0 51 52 // </h> 53 54 #endif /* SL_HFXO_MANAGER_CONFIG_H */ 55 56 // <<< end of configuration section >>> 57