Struct stm32_metapac::eth::regs::Macppsttsr
#[repr(transparent)]pub struct Macppsttsr(pub u32);
Expand description
PPS target time seconds register
Tuple Fields§
§0: u32
Implementations§
§impl Macppsttsr
impl Macppsttsr
pub fn set_tstrh0(&mut self, val: u32)
pub fn set_tstrh0(&mut self, val: u32)
PPS Target Time Seconds Register
Trait Implementations§
§impl Clone for Macppsttsr
impl Clone for Macppsttsr
§fn clone(&self) -> Macppsttsr
fn clone(&self) -> Macppsttsr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Default for Macppsttsr
impl Default for Macppsttsr
§fn default() -> Macppsttsr
fn default() -> Macppsttsr
Returns the “default value” for a type. Read more
§impl PartialEq for Macppsttsr
impl PartialEq for Macppsttsr
§fn eq(&self, other: &Macppsttsr) -> bool
fn eq(&self, other: &Macppsttsr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Macppsttsr
impl Eq for Macppsttsr
impl StructuralEq for Macppsttsr
impl StructuralPartialEq for Macppsttsr
Auto Trait Implementations§
impl RefUnwindSafe for Macppsttsr
impl Send for Macppsttsr
impl Sync for Macppsttsr
impl Unpin for Macppsttsr
impl UnwindSafe for Macppsttsr
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