#[repr(transparent)]pub struct Tempsense2Tog(pub u32);Expand description
Tempsensor Control Register 2
Tuple Fields§
§0: u32Implementations§
Source§impl Tempsense2Tog
impl Tempsense2Tog
Sourcepub const fn low_alarm_value(&self) -> u16
pub const fn low_alarm_value(&self) -> u16
This bit field contains the temperature count that will generate a low alarm interrupt when the field is exceeded by TEMP_CNT
Sourcepub const fn set_low_alarm_value(&mut self, val: u16)
pub const fn set_low_alarm_value(&mut self, val: u16)
This bit field contains the temperature count that will generate a low alarm interrupt when the field is exceeded by TEMP_CNT
Sourcepub const fn panic_alarm_value(&self) -> u16
pub const fn panic_alarm_value(&self) -> u16
This bit field contains the temperature count that will generate a panic interrupt when TEMP_CNT is smaller than this field
Sourcepub const fn set_panic_alarm_value(&mut self, val: u16)
pub const fn set_panic_alarm_value(&mut self, val: u16)
This bit field contains the temperature count that will generate a panic interrupt when TEMP_CNT is smaller than this field
Trait Implementations§
Source§impl Clone for Tempsense2Tog
impl Clone for Tempsense2Tog
Source§fn clone(&self) -> Tempsense2Tog
fn clone(&self) -> Tempsense2Tog
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Tempsense2Tog
impl Debug for Tempsense2Tog
Source§impl Default for Tempsense2Tog
impl Default for Tempsense2Tog
Source§fn default() -> Tempsense2Tog
fn default() -> Tempsense2Tog
Returns the “default value” for a type. Read more
Source§impl PartialEq for Tempsense2Tog
impl PartialEq for Tempsense2Tog
impl Copy for Tempsense2Tog
impl Eq for Tempsense2Tog
impl StructuralPartialEq for Tempsense2Tog
Auto Trait Implementations§
impl Freeze for Tempsense2Tog
impl RefUnwindSafe for Tempsense2Tog
impl Send for Tempsense2Tog
impl Sync for Tempsense2Tog
impl Unpin for Tempsense2Tog
impl UnwindSafe for Tempsense2Tog
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