/***************************************************************************//**
* @file
* @brief HFXO 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_HFXO_MANAGER_CONFIG_H
#define SL_HFXO_MANAGER_CONFIG_H
// HFXO Manager Configuration
// Enable custom IRQ handler for crystal HF oscillator.
// Enable if HFXO0_IRQHandler is needed from your application.
// The HFXO IRQ priority must not be changed as the HFXO Manager module needs it to be high priority
// and to stay enabled through atomic sections.
// The function sl_hfxo_manager_irq_handler() will have to be called from you custom handler if this is enabled.
// Default: 0
#define SL_HFXO_MANAGER_CUSTOM_HFXO_IRQ_HANDLER 0
// Enable support for Sleepy Crystals.
// If Enabled and if HFXO fails to startup due to a sleepy crystal, HFXO Manager will retry the startup with more aggressive settings
// before falling back to the configured settings.
// Default: 0
#define SL_HFXO_MANAGER_SLEEPY_CRYSTAL_SUPPORT 0
//
#endif /* SL_HFXO_MANAGER_CONFIG_H */
// <<< end of configuration section >>>