Struct stm32_metapac::hrtim::regs::HrtimOdisr
#[repr(transparent)]pub struct HrtimOdisr(pub u32);
Expand description
High Resolution Timer: Output Disable Register
Tuple Fields§
§0: u32
Implementations§
§impl HrtimOdisr
impl HrtimOdisr
pub fn set_t1odis(&mut self, n: usize, val: bool)
pub fn set_t1odis(&mut self, n: usize, val: bool)
Timer X Output Disable
pub fn set_t2odis(&mut self, n: usize, val: bool)
pub fn set_t2odis(&mut self, n: usize, val: bool)
Timer X Complementary Output Disable
Trait Implementations§
§impl Clone for HrtimOdisr
impl Clone for HrtimOdisr
§fn clone(&self) -> HrtimOdisr
fn clone(&self) -> HrtimOdisr
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 HrtimOdisr
impl Default for HrtimOdisr
§fn default() -> HrtimOdisr
fn default() -> HrtimOdisr
Returns the “default value” for a type. Read more
§impl PartialEq for HrtimOdisr
impl PartialEq for HrtimOdisr
§fn eq(&self, other: &HrtimOdisr) -> bool
fn eq(&self, other: &HrtimOdisr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HrtimOdisr
impl Eq for HrtimOdisr
impl StructuralEq for HrtimOdisr
impl StructuralPartialEq for HrtimOdisr
Auto Trait Implementations§
impl RefUnwindSafe for HrtimOdisr
impl Send for HrtimOdisr
impl Sync for HrtimOdisr
impl Unpin for HrtimOdisr
impl UnwindSafe for HrtimOdisr
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