#[repr(transparent)]pub struct Tampera(pub u32);Expand description
Tamper Enable A
Tuple Fields§
§0: u32Implementations§
Source§impl Tampera
impl Tampera
Sourcepub const fn set_por_det(&mut self, val: bool)
pub const fn set_por_det(&mut self, val: bool)
POR Detect
Sourcepub const fn set_clock_det(&mut self, val: bool)
pub const fn set_clock_det(&mut self, val: bool)
Clock Detect
Sourcepub const fn config_det(&self) -> TamperaConfigDet
pub const fn config_det(&self) -> TamperaConfigDet
Configuration Detect
Sourcepub const fn set_config_det(&mut self, val: TamperaConfigDet)
pub const fn set_config_det(&mut self, val: TamperaConfigDet)
Configuration Detect
Sourcepub const fn set_volt_det(&mut self, val: bool)
pub const fn set_volt_det(&mut self, val: bool)
Voltage Detect
Sourcepub const fn set_temp_det(&mut self, val: bool)
pub const fn set_temp_det(&mut self, val: bool)
Temperature Detect
Sourcepub const fn set_light_det(&mut self, val: bool)
pub const fn set_light_det(&mut self, val: bool)
Light Detect
Sourcepub const fn set_sec0_det(&mut self, val: bool)
pub const fn set_sec0_det(&mut self, val: bool)
Input 0 Detect
Trait Implementations§
impl Copy for Tampera
impl Eq for Tampera
impl StructuralPartialEq for Tampera
Auto Trait Implementations§
impl Freeze for Tampera
impl RefUnwindSafe for Tampera
impl Send for Tampera
impl Sync for Tampera
impl Unpin for Tampera
impl UnwindSafe for Tampera
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