Struct stm32f7xx_hal::pac::ETHERNET_MAC
source · [−]pub struct ETHERNET_MAC { /* private fields */ }
Expand description
Ethernet: media access control (MAC)
Implementations
sourceimpl ETHERNET_MAC
impl ETHERNET_MAC
sourcepub const PTR: *const RegisterBlock = {0x40028000 as *const stm32f7::stm32f7x6::ethernet_mac::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40028000 as *const stm32f7::stm32f7x6::ethernet_mac::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
Trait Implementations
sourceimpl Debug for ETHERNET_MAC
impl Debug for ETHERNET_MAC
sourceimpl Deref for ETHERNET_MAC
impl Deref for ETHERNET_MAC
type Target = RegisterBlock
type Target = RegisterBlock
The resulting type after dereferencing.
sourcefn deref(&self) -> &<ETHERNET_MAC as Deref>::Target
fn deref(&self) -> &<ETHERNET_MAC as Deref>::Target
Dereferences the value.
sourceimpl Enable for ETHERNET_MAC
impl Enable for ETHERNET_MAC
sourcefn is_enabled() -> bool
fn is_enabled() -> bool
Check if peripheral enabled
sourcefn is_disabled() -> bool
fn is_disabled() -> bool
Check if peripheral disabled
sourceunsafe fn enable_unchecked()
unsafe fn enable_unchecked()
Safety Read more
sourceunsafe fn disable_unchecked()
unsafe fn disable_unchecked()
Safety Read more
sourceimpl LPEnable for ETHERNET_MAC
impl LPEnable for ETHERNET_MAC
sourcefn low_power_enable(bus: &mut Self::Bus)
fn low_power_enable(bus: &mut Self::Bus)
Enables peripheral
sourcefn low_power_disable(bus: &mut Self::Bus)
fn low_power_disable(bus: &mut Self::Bus)
Disables peripheral
sourcefn is_low_power_enabled() -> bool
fn is_low_power_enabled() -> bool
Check if peripheral enabled
sourcefn is_low_power_disabled() -> bool
fn is_low_power_disabled() -> bool
Check if peripheral disabled
sourceunsafe fn low_power_enable_unchecked()
unsafe fn low_power_enable_unchecked()
Safety Read more
sourceunsafe fn low_power_disable_unchecked()
unsafe fn low_power_disable_unchecked()
Safety Read more
sourceimpl RccBus for ETHERNET_MAC
impl RccBus for ETHERNET_MAC
sourceimpl Reset for ETHERNET_MAC
impl Reset for ETHERNET_MAC
impl Send for ETHERNET_MAC
Auto Trait Implementations
impl RefUnwindSafe for ETHERNET_MAC
impl !Sync for ETHERNET_MAC
impl Unpin for ETHERNET_MAC
impl UnwindSafe for ETHERNET_MAC
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more