[−][src]Struct imxrt1062_tempmon::R
Register/field reader
Result of the read
method of a register.
Also it can be used in the modify
method
Methods
impl<U, T> R<U, T> where
U: Copy,
[src]
U: Copy,
impl<FI> R<bool, FI>
[src]
pub fn bit(&self) -> bool
[src]
Value of the field as raw bits
pub fn bit_is_clear(&self) -> bool
[src]
Returns true
if the bit is clear (0)
pub fn bit_is_set(&self) -> bool
[src]
Returns true
if the bit is set (1)
impl R<bool, POWER_DOWN_A>
[src]
pub fn variant(&self) -> POWER_DOWN_A
[src]
Get enumerated values variant
pub fn is_power_up(&self) -> bool
[src]
Checks if the value of the field is POWER_UP
pub fn is_power_down(&self) -> bool
[src]
Checks if the value of the field is POWER_DOWN
impl R<bool, MEASURE_TEMP_A>
[src]
pub fn variant(&self) -> MEASURE_TEMP_A
[src]
Get enumerated values variant
pub fn is_stop(&self) -> bool
[src]
Checks if the value of the field is STOP
pub fn is_start(&self) -> bool
[src]
Checks if the value of the field is START
impl R<bool, FINISHED_A>
[src]
pub fn variant(&self) -> FINISHED_A
[src]
Get enumerated values variant
pub fn is_invalid(&self) -> bool
[src]
Checks if the value of the field is INVALID
pub fn is_valid(&self) -> bool
[src]
Checks if the value of the field is VALID
impl R<u32, Reg<u32, _TEMPSENSE0>>
[src]
pub fn power_down(&self) -> POWER_DOWN_R
[src]
Bit 0 - This bit powers down the temperature sensor.
pub fn measure_temp(&self) -> MEASURE_TEMP_R
[src]
Bit 1 - Starts the measurement process
pub fn finished(&self) -> FINISHED_R
[src]
Bit 2 - Indicates that the latest temp is valid
pub fn temp_cnt(&self) -> TEMP_CNT_R
[src]
Bits 8:19 - This bit field contains the last measured temperature count.
pub fn alarm_value(&self) -> ALARM_VALUE_R
[src]
Bits 20:31 - This bit field contains the temperature count (raw sensor output) that will generate a high alarm when TEMP_CNT is smaller than this field
impl R<bool, POWER_DOWN_A>
[src]
pub fn variant(&self) -> POWER_DOWN_A
[src]
Get enumerated values variant
pub fn is_power_up(&self) -> bool
[src]
Checks if the value of the field is POWER_UP
pub fn is_power_down(&self) -> bool
[src]
Checks if the value of the field is POWER_DOWN
impl R<bool, MEASURE_TEMP_A>
[src]
pub fn variant(&self) -> MEASURE_TEMP_A
[src]
Get enumerated values variant
pub fn is_stop(&self) -> bool
[src]
Checks if the value of the field is STOP
pub fn is_start(&self) -> bool
[src]
Checks if the value of the field is START
impl R<bool, FINISHED_A>
[src]
pub fn variant(&self) -> FINISHED_A
[src]
Get enumerated values variant
pub fn is_invalid(&self) -> bool
[src]
Checks if the value of the field is INVALID
pub fn is_valid(&self) -> bool
[src]
Checks if the value of the field is VALID
impl R<u32, Reg<u32, _TEMPSENSE0_SET>>
[src]
pub fn power_down(&self) -> POWER_DOWN_R
[src]
Bit 0 - This bit powers down the temperature sensor.
pub fn measure_temp(&self) -> MEASURE_TEMP_R
[src]
Bit 1 - Starts the measurement process
pub fn finished(&self) -> FINISHED_R
[src]
Bit 2 - Indicates that the latest temp is valid
pub fn temp_cnt(&self) -> TEMP_CNT_R
[src]
Bits 8:19 - This bit field contains the last measured temperature count.
pub fn alarm_value(&self) -> ALARM_VALUE_R
[src]
Bits 20:31 - This bit field contains the temperature count (raw sensor output) that will generate a high alarm when TEMP_CNT is smaller than this field
impl R<bool, POWER_DOWN_A>
[src]
pub fn variant(&self) -> POWER_DOWN_A
[src]
Get enumerated values variant
pub fn is_power_up(&self) -> bool
[src]
Checks if the value of the field is POWER_UP
pub fn is_power_down(&self) -> bool
[src]
Checks if the value of the field is POWER_DOWN
impl R<bool, MEASURE_TEMP_A>
[src]
pub fn variant(&self) -> MEASURE_TEMP_A
[src]
Get enumerated values variant
pub fn is_stop(&self) -> bool
[src]
Checks if the value of the field is STOP
pub fn is_start(&self) -> bool
[src]
Checks if the value of the field is START
impl R<bool, FINISHED_A>
[src]
pub fn variant(&self) -> FINISHED_A
[src]
Get enumerated values variant
pub fn is_invalid(&self) -> bool
[src]
Checks if the value of the field is INVALID
pub fn is_valid(&self) -> bool
[src]
Checks if the value of the field is VALID
impl R<u32, Reg<u32, _TEMPSENSE0_CLR>>
[src]
pub fn power_down(&self) -> POWER_DOWN_R
[src]
Bit 0 - This bit powers down the temperature sensor.
pub fn measure_temp(&self) -> MEASURE_TEMP_R
[src]
Bit 1 - Starts the measurement process
pub fn finished(&self) -> FINISHED_R
[src]
Bit 2 - Indicates that the latest temp is valid
pub fn temp_cnt(&self) -> TEMP_CNT_R
[src]
Bits 8:19 - This bit field contains the last measured temperature count.
pub fn alarm_value(&self) -> ALARM_VALUE_R
[src]
Bits 20:31 - This bit field contains the temperature count (raw sensor output) that will generate a high alarm when TEMP_CNT is smaller than this field
impl R<bool, POWER_DOWN_A>
[src]
pub fn variant(&self) -> POWER_DOWN_A
[src]
Get enumerated values variant
pub fn is_power_up(&self) -> bool
[src]
Checks if the value of the field is POWER_UP
pub fn is_power_down(&self) -> bool
[src]
Checks if the value of the field is POWER_DOWN
impl R<bool, MEASURE_TEMP_A>
[src]
pub fn variant(&self) -> MEASURE_TEMP_A
[src]
Get enumerated values variant
pub fn is_stop(&self) -> bool
[src]
Checks if the value of the field is STOP
pub fn is_start(&self) -> bool
[src]
Checks if the value of the field is START
impl R<bool, FINISHED_A>
[src]
pub fn variant(&self) -> FINISHED_A
[src]
Get enumerated values variant
pub fn is_invalid(&self) -> bool
[src]
Checks if the value of the field is INVALID
pub fn is_valid(&self) -> bool
[src]
Checks if the value of the field is VALID
impl R<u32, Reg<u32, _TEMPSENSE0_TOG>>
[src]
pub fn power_down(&self) -> POWER_DOWN_R
[src]
Bit 0 - This bit powers down the temperature sensor.
pub fn measure_temp(&self) -> MEASURE_TEMP_R
[src]
Bit 1 - Starts the measurement process
pub fn finished(&self) -> FINISHED_R
[src]
Bit 2 - Indicates that the latest temp is valid
pub fn temp_cnt(&self) -> TEMP_CNT_R
[src]
Bits 8:19 - This bit field contains the last measured temperature count.
pub fn alarm_value(&self) -> ALARM_VALUE_R
[src]
Bits 20:31 - This bit field contains the temperature count (raw sensor output) that will generate a high alarm when TEMP_CNT is smaller than this field
impl R<u32, Reg<u32, _TEMPSENSE1>>
[src]
pub fn measure_freq(&self) -> MEASURE_FREQ_R
[src]
Bits 0:15 - This bits determines how many RTC clocks to wait before automatically repeating a temperature measurement
impl R<u32, Reg<u32, _TEMPSENSE1_SET>>
[src]
pub fn measure_freq(&self) -> MEASURE_FREQ_R
[src]
Bits 0:15 - This bits determines how many RTC clocks to wait before automatically repeating a temperature measurement
impl R<u32, Reg<u32, _TEMPSENSE1_CLR>>
[src]
pub fn measure_freq(&self) -> MEASURE_FREQ_R
[src]
Bits 0:15 - This bits determines how many RTC clocks to wait before automatically repeating a temperature measurement
impl R<u32, Reg<u32, _TEMPSENSE1_TOG>>
[src]
pub fn measure_freq(&self) -> MEASURE_FREQ_R
[src]
Bits 0:15 - This bits determines how many RTC clocks to wait before automatically repeating a temperature measurement
impl R<u32, Reg<u32, _TEMPSENSE2>>
[src]
pub fn low_alarm_value(&self) -> LOW_ALARM_VALUE_R
[src]
Bits 0:11 - This bit field contains the temperature count that will generate a low alarm interrupt when the field is exceeded by TEMP_CNT
pub fn panic_alarm_value(&self) -> PANIC_ALARM_VALUE_R
[src]
Bits 16:27 - This bit field contains the temperature count that will generate a panic interrupt when TEMP_CNT is smaller than this field
impl R<u32, Reg<u32, _TEMPSENSE2_SET>>
[src]
pub fn low_alarm_value(&self) -> LOW_ALARM_VALUE_R
[src]
Bits 0:11 - This bit field contains the temperature count that will generate a low alarm interrupt when the field is exceeded by TEMP_CNT
pub fn panic_alarm_value(&self) -> PANIC_ALARM_VALUE_R
[src]
Bits 16:27 - This bit field contains the temperature count that will generate a panic interrupt when TEMP_CNT is smaller than this field
impl R<u32, Reg<u32, _TEMPSENSE2_CLR>>
[src]
pub fn low_alarm_value(&self) -> LOW_ALARM_VALUE_R
[src]
Bits 0:11 - This bit field contains the temperature count that will generate a low alarm interrupt when the field is exceeded by TEMP_CNT
pub fn panic_alarm_value(&self) -> PANIC_ALARM_VALUE_R
[src]
Bits 16:27 - This bit field contains the temperature count that will generate a panic interrupt when TEMP_CNT is smaller than this field
impl R<u32, Reg<u32, _TEMPSENSE2_TOG>>
[src]
pub fn low_alarm_value(&self) -> LOW_ALARM_VALUE_R
[src]
Bits 0:11 - This bit field contains the temperature count that will generate a low alarm interrupt when the field is exceeded by TEMP_CNT
pub fn panic_alarm_value(&self) -> PANIC_ALARM_VALUE_R
[src]
Bits 16:27 - This bit field contains the temperature count that will generate a panic interrupt when TEMP_CNT is smaller than this field
Trait Implementations
Auto Trait Implementations
impl<U, T> Send for R<U, T> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<U, T> Sync for R<U, T> where
T: Sync,
U: Sync,
T: Sync,
U: Sync,
impl<U, T> Unpin for R<U, T> where
T: Unpin,
U: Unpin,
T: Unpin,
U: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,