mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
38 lines
807 B
C
38 lines
807 B
C
/*
|
|
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
/**
|
|
* @brief Configure analog super WDT reset
|
|
*
|
|
* @param enable Boolean to enable or disable super WDT reset
|
|
*/
|
|
void bootloader_ana_super_wdt_reset_config(bool enable);
|
|
|
|
/**
|
|
* @brief Configure analog clock glitch reset
|
|
*
|
|
* @param enable Boolean to enable or disable clock glitch reset
|
|
*/
|
|
void bootloader_ana_clock_glitch_reset_config(bool enable);
|
|
|
|
/**
|
|
* @brief Configure analog power glitch reset & glitch reset dref
|
|
*
|
|
* @param enable Boolean to enable or disable power glitch reset
|
|
* @param dref voltage threshold
|
|
*/
|
|
void bootloader_power_glitch_reset_config(bool enable, uint8_t dref);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|