Struct stm32_metapac::tsc::regs::Ioscr
#[repr(transparent)]pub struct Ioscr(pub u32);
Expand description
I/O sampling control register.
Tuple Fields§
§0: u32
Implementations§
§impl Ioscr
impl Ioscr
pub fn set_g1_io1(&mut self, val: bool)
pub fn set_g1_io1(&mut self, val: bool)
G1_IO1 sampling mode.
pub fn set_g1_io2(&mut self, val: bool)
pub fn set_g1_io2(&mut self, val: bool)
G1_IO2 sampling mode.
pub fn set_g1_io3(&mut self, val: bool)
pub fn set_g1_io3(&mut self, val: bool)
G1_IO3 sampling mode.
pub fn set_g1_io4(&mut self, val: bool)
pub fn set_g1_io4(&mut self, val: bool)
G1_IO4 sampling mode.
pub fn set_g2_io1(&mut self, val: bool)
pub fn set_g2_io1(&mut self, val: bool)
G2_IO1 sampling mode.
pub fn set_g2_io2(&mut self, val: bool)
pub fn set_g2_io2(&mut self, val: bool)
G2_IO2 sampling mode.
pub fn set_g2_io3(&mut self, val: bool)
pub fn set_g2_io3(&mut self, val: bool)
G2_IO3 sampling mode.
pub fn set_g2_io4(&mut self, val: bool)
pub fn set_g2_io4(&mut self, val: bool)
G2_IO4 sampling mode.
pub fn set_g3_io1(&mut self, val: bool)
pub fn set_g3_io1(&mut self, val: bool)
G3_IO1 sampling mode.
pub fn set_g3_io2(&mut self, val: bool)
pub fn set_g3_io2(&mut self, val: bool)
G3_IO2 sampling mode.
pub fn set_g3_io3(&mut self, val: bool)
pub fn set_g3_io3(&mut self, val: bool)
G3_IO3 sampling mode.
pub fn set_g3_io4(&mut self, val: bool)
pub fn set_g3_io4(&mut self, val: bool)
G3_IO4 sampling mode.
pub fn set_g4_io1(&mut self, val: bool)
pub fn set_g4_io1(&mut self, val: bool)
G4_IO1 sampling mode.
pub fn set_g4_io2(&mut self, val: bool)
pub fn set_g4_io2(&mut self, val: bool)
G4_IO2 sampling mode.
pub fn set_g4_io3(&mut self, val: bool)
pub fn set_g4_io3(&mut self, val: bool)
G4_IO3 sampling mode.
pub fn set_g4_io4(&mut self, val: bool)
pub fn set_g4_io4(&mut self, val: bool)
G4_IO4 sampling mode.
pub fn set_g5_io1(&mut self, val: bool)
pub fn set_g5_io1(&mut self, val: bool)
G5_IO1 sampling mode.
pub fn set_g5_io2(&mut self, val: bool)
pub fn set_g5_io2(&mut self, val: bool)
G5_IO2 sampling mode.
pub fn set_g5_io3(&mut self, val: bool)
pub fn set_g5_io3(&mut self, val: bool)
G5_IO3 sampling mode.
pub fn set_g5_io4(&mut self, val: bool)
pub fn set_g5_io4(&mut self, val: bool)
G5_IO4 sampling mode.
pub fn set_g6_io1(&mut self, val: bool)
pub fn set_g6_io1(&mut self, val: bool)
G6_IO1 sampling mode.
pub fn set_g6_io2(&mut self, val: bool)
pub fn set_g6_io2(&mut self, val: bool)
G6_IO2 sampling mode.
pub fn set_g6_io3(&mut self, val: bool)
pub fn set_g6_io3(&mut self, val: bool)
G6_IO3 sampling mode.
pub fn set_g6_io4(&mut self, val: bool)
pub fn set_g6_io4(&mut self, val: bool)
G6_IO4 sampling mode.
Trait Implementations§
impl Copy for Ioscr
impl Eq for Ioscr
impl StructuralPartialEq for Ioscr
Auto Trait Implementations§
impl Freeze for Ioscr
impl RefUnwindSafe for Ioscr
impl Send for Ioscr
impl Sync for Ioscr
impl Unpin for Ioscr
impl UnwindSafe for Ioscr
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
)