2021-08-10 13:16:02 +02:00
|
|
|
/*
|
|
|
|
|
* SPDX-FileCopyrightText: 2020-2021 Espressif Systems (Shanghai) CO LTD
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
*/
|
2020-07-31 18:26:07 +08:00
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
/**
|
2020-09-28 15:44:28 +08:00
|
|
|
* @file regi2c_brownout.h
|
2020-07-31 18:26:07 +08:00
|
|
|
* @brief Register definitions for brownout detector
|
|
|
|
|
*
|
|
|
|
|
* This file lists register fields of the brownout detector, located on an internal configuration
|
2020-09-28 15:44:28 +08:00
|
|
|
* bus. These definitions are used via macros defined in regi2c_ctrl.h.
|
2020-07-31 18:26:07 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#define I2C_BOD 0x61
|
|
|
|
|
#define I2C_BOD_HOSTID 1
|
|
|
|
|
|
|
|
|
|
#define I2C_BOD_THRESHOLD 0x5
|
|
|
|
|
#define I2C_BOD_THRESHOLD_MSB 2
|
|
|
|
|
#define I2C_BOD_THRESHOLD_LSB 0
|