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