Struct stm32_metapac::syscfg::regs::Tsccr
#[repr(transparent)]pub struct Tsccr(pub u32);
Expand description
SYSCFG TSC comparator register
Tuple Fields§
§0: u32
Implementations§
§impl Tsccr
impl Tsccr
pub fn set_g2_io1(&mut self, val: bool)
pub fn set_g2_io1(&mut self, val: bool)
Comparator mode for group 2 on I/O 1
pub fn set_g2_io3(&mut self, val: bool)
pub fn set_g2_io3(&mut self, val: bool)
Comparator mode for group 2 on I/O 3
pub fn set_g4_io3(&mut self, val: bool)
pub fn set_g4_io3(&mut self, val: bool)
Comparator mode for group 4 on I/O 3
pub fn set_g6_io1(&mut self, val: bool)
pub fn set_g6_io1(&mut self, val: bool)
Comparator mode for group 6 on I/O 1
pub fn set_g7_io1(&mut self, val: bool)
pub fn set_g7_io1(&mut self, val: bool)
Comparator mode for group 7 on I/O 1
pub const fn tsc_ioctrl(&self) -> bool
pub const fn tsc_ioctrl(&self) -> bool
I/O control in comparator mode The I/O control in comparator mode can be overwritten by hardware.
pub fn set_tsc_ioctrl(&mut self, val: bool)
pub fn set_tsc_ioctrl(&mut self, val: bool)
I/O control in comparator mode The I/O control in comparator mode can be overwritten by hardware.
Trait Implementations§
impl Copy for Tsccr
impl Eq for Tsccr
impl StructuralPartialEq for Tsccr
Auto Trait Implementations§
impl Freeze for Tsccr
impl RefUnwindSafe for Tsccr
impl Send for Tsccr
impl Sync for Tsccr
impl Unpin for Tsccr
impl UnwindSafe for Tsccr
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
)