#[repr(transparent)]pub struct Tamctla(pub u32);Expand description
TAMPER Control A
Tuple Fields§
§0: u32Implementations§
Source§impl Tamctla
impl Tamctla
Sourcepub const fn set_volt_en(&mut self, val: bool)
pub const fn set_volt_en(&mut self, val: bool)
Voltage Detect Enable
Sourcepub const fn set_temp_en(&mut self, val: bool)
pub const fn set_temp_en(&mut self, val: bool)
Temperature Detect Enable
Sourcepub const fn set_light_en(&mut self, val: bool)
pub const fn set_light_en(&mut self, val: bool)
Light Detect Enable
Trait Implementations§
impl Copy for Tamctla
impl Eq for Tamctla
impl StructuralPartialEq for Tamctla
Auto Trait Implementations§
impl Freeze for Tamctla
impl RefUnwindSafe for Tamctla
impl Send for Tamctla
impl Sync for Tamctla
impl Unpin for Tamctla
impl UnwindSafe for Tamctla
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