Struct stm32_metapac::eth::regs::Mac1ustcr
#[repr(transparent)]pub struct Mac1ustcr(pub u32);
Expand description
1-microsecond-tick counter register
Tuple Fields§
§0: u32
Implementations§
§impl Mac1ustcr
impl Mac1ustcr
pub const fn tic_1us_cntr(&self) -> u16
pub const fn tic_1us_cntr(&self) -> u16
1 µs tick Counter
pub fn set_tic_1us_cntr(&mut self, val: u16)
pub fn set_tic_1us_cntr(&mut self, val: u16)
1 µs tick Counter
Trait Implementations§
impl Copy for Mac1ustcr
impl Eq for Mac1ustcr
impl StructuralEq for Mac1ustcr
impl StructuralPartialEq for Mac1ustcr
Auto Trait Implementations§
impl RefUnwindSafe for Mac1ustcr
impl Send for Mac1ustcr
impl Sync for Mac1ustcr
impl Unpin for Mac1ustcr
impl UnwindSafe for Mac1ustcr
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