esp32/emac_mac/
emacaddr5low.rs1#[doc = "Register `EMACADDR5LOW` reader"]
2pub type R = crate::R<EMACADDR5LOW_SPEC>;
3#[doc = "Register `EMACADDR5LOW` writer"]
4pub type W = crate::W<EMACADDR5LOW_SPEC>;
5#[cfg(feature = "impl-register-debug")]
6impl core::fmt::Debug for R {
7 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
8 write!(f, "{}", self.bits())
9 }
10}
11impl W {}
12#[doc = "This field contains the lower 32 bits of the sixth 6-byte MAC address. The content of this field is undefined so the register needs to be configured after the initialization process.\n\nYou can [`read`](crate::Reg::read) this register and get [`emacaddr5low::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`emacaddr5low::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
13pub struct EMACADDR5LOW_SPEC;
14impl crate::RegisterSpec for EMACADDR5LOW_SPEC {
15 type Ux = u32;
16}
17#[doc = "`read()` method returns [`emacaddr5low::R`](R) reader structure"]
18impl crate::Readable for EMACADDR5LOW_SPEC {}
19#[doc = "`write(|w| ..)` method takes [`emacaddr5low::W`](W) writer structure"]
20impl crate::Writable for EMACADDR5LOW_SPEC {
21 type Safety = crate::Unsafe;
22 const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
23 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
24}
25#[doc = "`reset()` method sets EMACADDR5LOW to value 0"]
26impl crate::Resettable for EMACADDR5LOW_SPEC {
27 const RESET_VALUE: u32 = 0;
28}