Struct stm32f1xx_hal::pac::ethernet_mac::maca2hr::W
source · pub struct W(_);
Expand description
Register MACA2HR
writer
Implementations§
source§impl W
impl W
sourcepub fn eth_maca2hr(
&mut self
) -> FieldWriterRaw<'_, u32, MACA2HR_SPEC, u16, u16, Unsafe, 16, 0>
pub fn eth_maca2hr(
&mut self
) -> FieldWriterRaw<'_, u32, MACA2HR_SPEC, u16, u16, Unsafe, 16, 0>
Bits 0:15 - Ethernet MAC address 2 high register
sourcepub fn mbc(
&mut self
) -> FieldWriterRaw<'_, u32, MACA2HR_SPEC, u8, u8, Unsafe, 6, 24>
pub fn mbc(
&mut self
) -> FieldWriterRaw<'_, u32, MACA2HR_SPEC, u8, u8, Unsafe, 6, 24>
Bits 24:29 - Mask byte control
sourcepub fn sa(&mut self) -> BitWriterRaw<'_, u32, MACA2HR_SPEC, bool, BitM, 30>
pub fn sa(&mut self) -> BitWriterRaw<'_, u32, MACA2HR_SPEC, bool, BitM, 30>
Bit 30 - Source address
sourcepub fn ae(&mut self) -> BitWriterRaw<'_, u32, MACA2HR_SPEC, bool, BitM, 31>
pub fn ae(&mut self) -> BitWriterRaw<'_, u32, MACA2HR_SPEC, bool, BitM, 31>
Bit 31 - Address enable
Methods from Deref<Target = W<MACA2HR_SPEC>>§
sourcepub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.