Struct stm32_metapac::eth::regs::Maclcsr
#[repr(transparent)]pub struct Maclcsr(pub u32);
Expand description
LPI control status register
Tuple Fields§
§0: u32
Implementations§
§impl Maclcsr
impl Maclcsr
pub fn set_tlpien(&mut self, val: bool)
pub fn set_tlpien(&mut self, val: bool)
Transmit LPI Entry
pub fn set_tlpiex(&mut self, val: bool)
pub fn set_tlpiex(&mut self, val: bool)
Transmit LPI Exit
pub fn set_rlpien(&mut self, val: bool)
pub fn set_rlpien(&mut self, val: bool)
Receive LPI Entry
pub fn set_rlpiex(&mut self, val: bool)
pub fn set_rlpiex(&mut self, val: bool)
Receive LPI Exit
pub fn set_tlpist(&mut self, val: bool)
pub fn set_tlpist(&mut self, val: bool)
Transmit LPI State
pub fn set_rlpist(&mut self, val: bool)
pub fn set_rlpist(&mut self, val: bool)
Receive LPI State
pub fn set_lpitxa(&mut self, val: bool)
pub fn set_lpitxa(&mut self, val: bool)
LPI Tx Automate
Trait Implementations§
impl Copy for Maclcsr
impl Eq for Maclcsr
impl StructuralPartialEq for Maclcsr
Auto Trait Implementations§
impl Freeze for Maclcsr
impl RefUnwindSafe for Maclcsr
impl Send for Maclcsr
impl Sync for Maclcsr
impl Unpin for Maclcsr
impl UnwindSafe for Maclcsr
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)