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