Module esp32_hal::efuse

source ·
Expand description

§Reading of eFuses (ESP32)

§Overview

The efuse module provides functionality for reading eFuse data from the ESP32 chip, allowing access to various chip-specific information such as :

  • MAC address
  • core count
  • CPU frequency
  • chip type

and more. It is useful for retrieving chip-specific configuration and identification data during runtime.

The Efuse struct represents the eFuse peripheral and is responsible for reading various eFuse fields and values.

§Example

§Read chip’s MAC address from the eFuse storage.

let mac_address = Efuse::get_mac_address();
writeln!(
    serial_tx,
    "MAC: {:#X}:{:#X}:{:#X}:{:#X}:{:#X}:{:#X}",
    mac_address[0],
    mac_address[1],
    mac_address[2],
    mac_address[3],
    mac_address[4],
    mac_address[5]
);

Structs§

Enums§

Constants§