1 /* 2 * SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #pragma once 8 9 /** 10 * @file regi2c_brownout.h 11 * @brief Register definitions for brownout detector 12 * 13 * This file lists register fields of the brownout detector, located on an internal configuration 14 * bus. These definitions are used via macros defined in regi2c_ctrl.h. 15 */ 16 17 #define I2C_BOD 0x61 18 #define I2C_BOD_HOSTID 0 19 20 #define I2C_BOD_THRESHOLD 0x5 21 #define I2C_BOD_THRESHOLD_MSB 2 22 #define I2C_BOD_THRESHOLD_LSB 0 23