[][src]Struct cc2650::aon_rtc::chctl::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 ch2_cont_en(&mut self) -> _CH2_CONT_ENW[src]

Bit 18 - Set to enable continuous operation of Channel 2

pub fn ch2_en(&mut self) -> _CH2_ENW[src]

Bit 16 - RTC Channel 2 Enable 0: Disable RTC Channel 2 1: Enable RTC Channel 2

pub fn ch1_capt_en(&mut self) -> _CH1_CAPT_ENW[src]

Bit 9 - Set Channel 1 mode 0: Compare mode (default) 1: Capture mode

pub fn ch1_en(&mut self) -> _CH1_ENW[src]

Bit 8 - RTC Channel 1 Enable 0: Disable RTC Channel 1 1: Enable RTC Channel 1

pub fn ch0_en(&mut self) -> _CH0_ENW[src]

Bit 0 - RTC Channel 0 Enable 0: Disable RTC Channel 0 1: Enable RTC Channel 0

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]