#[repr(transparent)]pub struct Tempsense2Clr(pub u32);Expand description
Tempsensor Control Register 2
Tuple Fields§
§0: u32Implementations§
Source§impl Tempsense2Clr
impl Tempsense2Clr
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 Tempsense2Clr
impl Clone for Tempsense2Clr
Source§fn clone(&self) -> Tempsense2Clr
fn clone(&self) -> Tempsense2Clr
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 Tempsense2Clr
impl Debug for Tempsense2Clr
Source§impl Default for Tempsense2Clr
impl Default for Tempsense2Clr
Source§fn default() -> Tempsense2Clr
fn default() -> Tempsense2Clr
Returns the “default value” for a type. Read more
Source§impl PartialEq for Tempsense2Clr
impl PartialEq for Tempsense2Clr
impl Copy for Tempsense2Clr
impl Eq for Tempsense2Clr
impl StructuralPartialEq for Tempsense2Clr
Auto Trait Implementations§
impl Freeze for Tempsense2Clr
impl RefUnwindSafe for Tempsense2Clr
impl Send for Tempsense2Clr
impl Sync for Tempsense2Clr
impl Unpin for Tempsense2Clr
impl UnwindSafe for Tempsense2Clr
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