Struct stm32_metapac::timer::regs::EcrGp16
#[repr(transparent)]pub struct EcrGp16(pub u32);
Expand description
encoder control register
Tuple Fields§
§0: u32
Implementations§
§impl EcrGp16
impl EcrGp16
pub fn set_pwprsc(&mut self, val: u8)
pub fn set_pwprsc(&mut self, val: u8)
Pulse width prescaler
Trait Implementations§
impl Copy for EcrGp16
impl Eq for EcrGp16
impl StructuralPartialEq for EcrGp16
Auto Trait Implementations§
impl Freeze for EcrGp16
impl RefUnwindSafe for EcrGp16
impl Send for EcrGp16
impl Sync for EcrGp16
impl Unpin for EcrGp16
impl UnwindSafe for EcrGp16
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
)