[][src]Struct cc13x2_cc26x2_hal::aon_rtc::RegisterBlock

#[repr(C)]
pub struct RegisterBlock { pub ctl: CTL, pub evflags: EVFLAGS, pub sec: SEC, pub subsec: SUBSEC, pub subsecinc: SUBSECINC, pub chctl: CHCTL, pub ch0cmp: CH0CMP, pub ch1cmp: CH1CMP, pub ch2cmp: CH2CMP, pub ch2cmpinc: CH2CMPINC, pub ch1capt: CH1CAPT, pub sync: SYNC, pub time: TIME, pub synclf: SYNCLF, }

Register block

Fields

ctl: CTL

0x00 - Control This register contains various bitfields for configuration of RTC RTL Name = CONFIG

evflags: EVFLAGS

0x04 - Event Flags, RTC Status This register contains event flags from the 3 RTC channels. Each flag will be cleared when writing a '1' to the corresponding bitfield.

sec: SEC

0x08 - Second Counter Value, Integer Part

subsec: SUBSEC

0x0c - Second Counter Value, Fractional Part

subsecinc: SUBSECINC

0x10 - Subseconds Increment Value added to SUBSEC.VALUE on every SCLK_LFclock cycle.

chctl: CHCTL

0x14 - Channel Configuration

ch0cmp: CH0CMP

0x18 - Channel 0 Compare Value

ch1cmp: CH1CMP

0x1c - Channel 1 Compare Value

ch2cmp: CH2CMP

0x20 - Channel 2 Compare Value

ch2cmpinc: CH2CMPINC

0x24 - Channel 2 Compare Value Auto-increment This register is primarily used to generate periodical wake-up for the AUX_SCE module, through the [AUX_EVCTL.EVSTAT0.AON_RTC] event.

ch1capt: CH1CAPT

0x28 - Channel 1 Capture Value If CHCTL.CH1_EN = 1and CHCTL.CH1_CAPT_EN = 1, capture occurs on each rising edge of the event selected in AON_EVENT:RTCSEL.

sync: SYNC

0x2c - AON Synchronization This register is used for synchronizing between MCU and entire AON domain.

time: TIME

0x30 - Current Counter Value

synclf: SYNCLF

0x34 - Synchronization to SCLK_LF This register is used for synchronizing MCU to positive or negative edge of SCLK_LF.

Auto Trait Implementations

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