pub fn mac_address() -> [u8; 6] {
        if MAC_OVERRIDE_STATE.load(Ordering::Relaxed) == 2 {
            unsafe { MAC_OVERRIDE }
        } else {
            Self::read_base_mac_address()
        }
    }
Get base mac address

By default this reads the base mac address from eFuse, but it can be
overridden by `set_mac_address`.
esp-hal/src/soc/mod.rs