Merge branch 'feature/remove_efuse_dependency' into 'master'

esp_hw_support: Removes efuse dependency

Closes IDF-4713

See merge request espressif/esp-idf!21212
This commit is contained in:
Konstantin Kondrashov
2022-11-29 18:12:26 +08:00
26 changed files with 249 additions and 170 deletions

View File

@@ -342,10 +342,10 @@ typedef union {
* Store blk 2 efuse version major.
*/
uint32_t blk_version_major:2;
/** reserve1 : RO; bitpos: [31:30]; default: 0;
* Store reserve1.
/** ocode_lo : RO; bitpos: [31:30];
* Store ocode.
*/
uint32_t reserve1:2;
uint32_t ocode_low:2;
};
uint32_t val;
} efuse_rd_blk2_data1_reg_t;
@@ -355,10 +355,14 @@ typedef union {
*/
typedef union {
struct {
/** ldo_vol_bias_config_high : RO; bitpos: [26:0]; default: 0;
* Store the bit [3:29] of ido configuration parameters.
/** ocode_hi : RO; bitpos: [4:0];
* Store ocode.
*/
uint32_t ldo_vol_bias_config_high:27;
uint32_t ocode_hi:5;
/** ldo_vol_bias_config_high : RO; bitpos: [26:5]; default: 0;
* ido configuration parameters.
*/
uint32_t ldo_vol_bias_config_high:22;
/** pvt_low : RO; bitpos: [31:27]; default: 0;
* Store the bit [0:4] of pvt.
*/
@@ -372,14 +376,11 @@ typedef union {
*/
typedef union {
struct {
/** pvt_high : RO; bitpos: [9:0]; default: 0;
* Store the bit [5:14] of pvt.
*/
uint32_t pvt_high:10;
/** adc_calibration_0 : RO; bitpos: [31:10]; default: 0;
* Store the bit [0:21] of ADC calibration data.
*/
uint32_t adc_calibration_0:22;
uint32_t reserved1:9;
uint32_t dig_dbias_hvt:5;
uint32_t dig_ldo_slp_dbias2:7;
uint32_t dig_ldo_slp_dbias26:8;
uint32_t dig_ldo_act_dbias26_low:3;
};
uint32_t val;
} efuse_rd_blk2_data3_reg_t;
@@ -389,10 +390,12 @@ typedef union {
*/
typedef union {
struct {
/** adc_calibration_1 : RO; bitpos: [31:0]; default: 0;
* Store the bit [22:53] of ADC calibration data.
*/
uint32_t adc_calibration_1:32;
uint32_t dig_ldo_act_dbias26_hi:3;
uint32_t dig_ldo_act_stepd10:4;
uint32_t rtc_ldo_slp_dbias13:7;
uint32_t rtc_ldo_slp_dbias29:9;
uint32_t rtc_ldo_slp_dbias31:6;
uint32_t rtc_ldo_act_dbias31_low:3;
};
uint32_t val;
} efuse_rd_blk2_data4_reg_t;
@@ -402,10 +405,9 @@ typedef union {
*/
typedef union {
struct {
/** adc_calibration_2 : RO; bitpos: [31:0]; default: 0;
* Store the bit [54:85] of ADC calibration data.
*/
uint32_t adc_calibration_2:32;
uint32_t rtc_ldo_act_dbias31_hi:3;
uint32_t rtc_ldo_act_dbias13:8;
uint32_t reserved2:21;
};
uint32_t val;
} efuse_rd_blk2_data5_reg_t;