[][src]Struct cc13x2_cc26x2_hal::aon_batmon::event::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

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

Writes raw bits to the register

pub fn reserved6(&mut self) -> _RESERVED6W[src]

Bits 6:31 - 31:6] Software should not rely on the value of a reserved. Writing any other value than the reset value may result in undefined behavior.

pub fn temp_update(&mut self) -> _TEMP_UPDATEW[src]

Bit 5 - 5:5] Alias to TEMPUPD.STAT

pub fn batt_update(&mut self) -> _BATT_UPDATEW[src]

Bit 4 - 4:4] Alias to BATUPD.STAT

pub fn temp_below_ll(&mut self) -> _TEMP_BELOW_LLW[src]

Bit 3 - 3:3] Read: 1: Temperature level is below the lower limit set by TEMPLL. 0: Temperature level is not below the lower limit set by TEMPLL. Write: 1: Clears the flag 0: No change in the flag

pub fn temp_over_ul(&mut self) -> _TEMP_OVER_ULW[src]

Bit 2 - 2:2] Read: 1: Temperature level is above the upper limit set by TEMPUL. 0: Temperature level is not above the upper limit set by TEMPUL. Write: 1: Clears the flag 0: No change in the flag

pub fn batt_below_ll(&mut self) -> _BATT_BELOW_LLW[src]

Bit 1 - 1:1] Read: 1: Battery level is below the lower limit set by BATTLL. 0: Battery level is not below the lower limit set by BATTLL. Write: 1: Clears the flag 0: No change in the flag

pub fn batt_over_ul(&mut self) -> _BATT_OVER_ULW[src]

Bit 0 - 0:0] Read: 1: Battery level is above the upper limit set by BATTUL. 0: Battery level is not above the upper limit set by BATTUL. Write: 1: Clears the flag 0: No change in the flag

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

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

impl<T> Same for T

type Output = T

Should always be Self