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