Struct stm32_metapac::opamp::regs::Tcmr
#[repr(transparent)]pub struct Tcmr(pub u32);
Expand description
OPAMP timer controlled mode register
Tuple Fields§
§0: u32
Implementations§
§impl Tcmr
impl Tcmr
pub fn set_vms_sel(&mut self, val: bool)
pub fn set_vms_sel(&mut self, val: bool)
VMS_SEL
pub fn set_vps_sel(&mut self, val: VpsSel)
pub fn set_vps_sel(&mut self, val: VpsSel)
VPS_SEL
pub fn set_t1cm_en(&mut self, val: bool)
pub fn set_t1cm_en(&mut self, val: bool)
T1CM_EN
pub fn set_t8cm_en(&mut self, val: bool)
pub fn set_t8cm_en(&mut self, val: bool)
T8CM_EN
pub fn set_t20cm_en(&mut self, val: bool)
pub fn set_t20cm_en(&mut self, val: bool)
T20CM_EN
Trait Implementations§
impl Copy for Tcmr
impl Eq for Tcmr
impl StructuralPartialEq for Tcmr
Auto Trait Implementations§
impl Freeze for Tcmr
impl RefUnwindSafe for Tcmr
impl Send for Tcmr
impl Sync for Tcmr
impl Unpin for Tcmr
impl UnwindSafe for Tcmr
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
)