[][src]Struct cc13x2_cc26x2_hal::trng::alarmcnt::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 reserved30(&mut self) -> _RESERVED30W[src]

Bits 30:31 - 31:30] 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 shutdown_cnt(&mut self) -> _SHUTDOWN_CNTW[src]

Bits 24:29 - 29:24] Read-only, indicates the number of '1' bits in ALARMSTOP register. The maximum value equals the number of FROs.

pub fn reserved21(&mut self) -> _RESERVED21W[src]

Bits 21:23 - 23:21] 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 shutdown_thr(&mut self) -> _SHUTDOWN_THRW[src]

Bits 16:20 - 20:16] Threshold setting for generating IRQFLAGSTAT.SHUTDOWN_OVF interrupt. The interrupt is triggered when SHUTDOWN_CNT value exceeds this bit field.

pub fn reserved8(&mut self) -> _RESERVED8W[src]

Bits 8:15 - 15:8] 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 alarm_thr(&mut self) -> _ALARM_THRW[src]

Bits 0:7 - 7:0] Alarm detection threshold for the repeating pattern detectors on each FRO. An FRO 'alarm event' is declared when a repeating pattern (of up to four samples length) is detected continuously for the number of samples defined by this field's value. Reset value 0xFF should keep the number of 'alarm events' to a manageable level.

Auto Trait Implementations

impl Send for W

impl Sync for W

Blanket Implementations

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> From for T[src]

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