mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
26563474d6
Reset the device when clock glitch detected. Clock glitch detection is only active in bootloader
28 lines
658 B
C
28 lines
658 B
C
/*
|
|
* SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
#pragma once
|
|
|
|
/**
|
|
* @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 brownout reset
|
|
*
|
|
* @param enable Boolean to enable or disable brownout reset
|
|
*/
|
|
void bootloader_ana_bod_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);
|