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