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)
Inverting input secondary selection
pub fn set_vps_sel(&mut self, val: VpsSel)
pub fn set_vps_sel(&mut self, val: VpsSel)
Non-inverting input secondary selection
pub fn set_t1cm_en(&mut self, val: bool)
pub fn set_t1cm_en(&mut self, val: bool)
TIM1 controlled mux mode enable
pub fn set_t8cm_en(&mut self, val: bool)
pub fn set_t8cm_en(&mut self, val: bool)
TIM8 controlled mux mode enable
pub fn set_t20cm_en(&mut self, val: bool)
pub fn set_t20cm_en(&mut self, val: bool)
TIM20 controlled mux mode enable
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
)