Struct stm32_metapac::hrtim::regs::Timxchp
#[repr(transparent)]pub struct Timxchp(pub u32);
Expand description
Timerx Chopper Register
Tuple Fields§
§0: u32
Implementations§
§impl Timxchp
impl Timxchp
pub fn set_carfrq(&mut self, val: u8)
pub fn set_carfrq(&mut self, val: u8)
Timerx carrier frequency value
pub fn set_cardty(&mut self, val: u8)
pub fn set_cardty(&mut self, val: u8)
Timerx chopper duty cycle value
pub fn set_strtpw(&mut self, val: u8)
pub fn set_strtpw(&mut self, val: u8)
Timerx start pulsewidth
Trait Implementations§
impl Copy for Timxchp
impl Eq for Timxchp
impl StructuralPartialEq for Timxchp
Auto Trait Implementations§
impl Freeze for Timxchp
impl RefUnwindSafe for Timxchp
impl Send for Timxchp
impl Sync for Timxchp
impl Unpin for Timxchp
impl UnwindSafe for Timxchp
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
)