[][src]Struct imxrt1062_tempmon::W

pub struct W<U, REG> { /* fields omitted */ }

Register writer

Used as an argument to the closures in the write and modify methods of the register

Methods

impl<U, REG> W<U, REG>[src]

pub unsafe fn bits(&mut self, bits: U) -> &mut Self[src]

Writes raw bits to the register

impl W<u32, Reg<u32, _TEMPSENSE0>>[src]

pub fn power_down(&mut self) -> POWER_DOWN_W[src]

Bit 0 - This bit powers down the temperature sensor.

pub fn measure_temp(&mut self) -> MEASURE_TEMP_W[src]

Bit 1 - Starts the measurement process

pub fn alarm_value(&mut self) -> ALARM_VALUE_W[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 W<u32, Reg<u32, _TEMPSENSE0_SET>>[src]

pub fn power_down(&mut self) -> POWER_DOWN_W[src]

Bit 0 - This bit powers down the temperature sensor.

pub fn measure_temp(&mut self) -> MEASURE_TEMP_W[src]

Bit 1 - Starts the measurement process

pub fn alarm_value(&mut self) -> ALARM_VALUE_W[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 W<u32, Reg<u32, _TEMPSENSE0_CLR>>[src]

pub fn power_down(&mut self) -> POWER_DOWN_W[src]

Bit 0 - This bit powers down the temperature sensor.

pub fn measure_temp(&mut self) -> MEASURE_TEMP_W[src]

Bit 1 - Starts the measurement process

pub fn alarm_value(&mut self) -> ALARM_VALUE_W[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 W<u32, Reg<u32, _TEMPSENSE0_TOG>>[src]

pub fn power_down(&mut self) -> POWER_DOWN_W[src]

Bit 0 - This bit powers down the temperature sensor.

pub fn measure_temp(&mut self) -> MEASURE_TEMP_W[src]

Bit 1 - Starts the measurement process

pub fn alarm_value(&mut self) -> ALARM_VALUE_W[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 W<u32, Reg<u32, _TEMPSENSE1>>[src]

pub fn measure_freq(&mut self) -> MEASURE_FREQ_W[src]

Bits 0:15 - This bits determines how many RTC clocks to wait before automatically repeating a temperature measurement

impl W<u32, Reg<u32, _TEMPSENSE1_SET>>[src]

pub fn measure_freq(&mut self) -> MEASURE_FREQ_W[src]

Bits 0:15 - This bits determines how many RTC clocks to wait before automatically repeating a temperature measurement

impl W<u32, Reg<u32, _TEMPSENSE1_CLR>>[src]

pub fn measure_freq(&mut self) -> MEASURE_FREQ_W[src]

Bits 0:15 - This bits determines how many RTC clocks to wait before automatically repeating a temperature measurement

impl W<u32, Reg<u32, _TEMPSENSE1_TOG>>[src]

pub fn measure_freq(&mut self) -> MEASURE_FREQ_W[src]

Bits 0:15 - This bits determines how many RTC clocks to wait before automatically repeating a temperature measurement

impl W<u32, Reg<u32, _TEMPSENSE2>>[src]

pub fn low_alarm_value(&mut self) -> LOW_ALARM_VALUE_W[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(&mut self) -> PANIC_ALARM_VALUE_W[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 W<u32, Reg<u32, _TEMPSENSE2_SET>>[src]

pub fn low_alarm_value(&mut self) -> LOW_ALARM_VALUE_W[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(&mut self) -> PANIC_ALARM_VALUE_W[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 W<u32, Reg<u32, _TEMPSENSE2_CLR>>[src]

pub fn low_alarm_value(&mut self) -> LOW_ALARM_VALUE_W[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(&mut self) -> PANIC_ALARM_VALUE_W[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 W<u32, Reg<u32, _TEMPSENSE2_TOG>>[src]

pub fn low_alarm_value(&mut self) -> LOW_ALARM_VALUE_W[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(&mut self) -> PANIC_ALARM_VALUE_W[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

Auto Trait Implementations

impl<U, REG> Send for W<U, REG> where
    REG: Send,
    U: Send

impl<U, REG> Sync for W<U, REG> where
    REG: Sync,
    U: Sync

impl<U, REG> Unpin for W<U, REG> where
    REG: Unpin,
    U: Unpin

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.