diff --git a/esp-hal/src/soc/efuse_field.rs b/esp-hal/src/soc/efuse_field.rs index 4e1b99f0d..dbf9c5dd1 100644 --- a/esp-hal/src/soc/efuse_field.rs +++ b/esp-hal/src/soc/efuse_field.rs @@ -8,9 +8,13 @@ use crate::soc::efuse::{Efuse, EfuseBlock}; #[allow(unused)] #[derive(Debug, Clone, Copy)] pub struct EfuseField { + /// The block pub(crate) block: EfuseBlock, + /// Word number - this is just informational pub(crate) word: u32, + /// Starting bit in the efuse block pub(crate) bit_start: u32, + /// Number of bits pub(crate) bit_count: u32, } diff --git a/esp-hal/src/soc/esp32/efuse/fields.rs b/esp-hal/src/soc/esp32/efuse/fields.rs index 289ce9c17..f34ca1a01 100644 --- a/esp-hal/src/soc/esp32/efuse/fields.rs +++ b/esp-hal/src/soc/esp32/efuse/fields.rs @@ -1,6 +1,6 @@ //! This file was automatically generated, please do not edit it manually! //! -//! Generated: 2025-04-15 12:51 +//! Generated: 2025-05-30 12:24 //! Version: 369d2d860d34e777c0f7d545a7dfc3c4 #![allow(clippy::empty_docs)] @@ -18,9 +18,9 @@ pub const UART_DOWNLOAD_DIS: EfuseField = EfuseField::new(0, 0, 27, 1); /// reserved pub const RESERVED_0_28: EfuseField = EfuseField::new(0, 0, 28, 4); /// MAC address -pub const MAC0: EfuseField = EfuseField::new(0, 1, 0, 32); +pub const MAC0: EfuseField = EfuseField::new(0, 1, 32, 32); /// MAC address -pub const MAC1: EfuseField = EfuseField::new(0, 2, 32, 16); +pub const MAC1: EfuseField = EfuseField::new(0, 2, 64, 16); /// CRC8 for MAC address pub const MAC_CRC: EfuseField = EfuseField::new(0, 2, 80, 8); /// Reserved; it was created by set_missed_fields_in_regs func