Struct stm32_metapac::tamp::regs::Or
#[repr(transparent)]pub struct Or(pub u32);
Expand description
TAMP option register.
Tuple Fields§
§0: u32
Implementations§
§impl Or
impl Or
pub fn set_out3_rmp(&mut self, val: u8)
pub fn set_out3_rmp(&mut self, val: u8)
TAMP_OUT3 mapping.
pub fn set_out5_rmp(&mut self, val: bool)
pub fn set_out5_rmp(&mut self, val: bool)
TAMP_OUT5 mapping.
pub fn set_in2_rmp(&mut self, val: bool)
pub fn set_in2_rmp(&mut self, val: bool)
TAMP_IN2 mapping.
pub fn set_in3_rmp(&mut self, val: bool)
pub fn set_in3_rmp(&mut self, val: bool)
TAMP_IN3 mapping.
pub fn set_in4_rmp(&mut self, val: bool)
pub fn set_in4_rmp(&mut self, val: bool)
TAMP_IN4 mapping.
Trait Implementations§
impl Copy for Or
impl Eq for Or
impl StructuralPartialEq for Or
Auto Trait Implementations§
impl Freeze for Or
impl RefUnwindSafe for Or
impl Send for Or
impl Sync for Or
impl Unpin for Or
impl UnwindSafe for Or
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
)