[][src]Struct ambiq_apollo3_pac::ctimer::ctrl0::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 ctlink0(&mut self) -> _CTLINK0W[src]

Bit 31 - Counter/Timer A0/B0 Link bit.

pub fn tmrb0pol(&mut self) -> _TMRB0POLW[src]

Bit 28 - Counter/Timer B0 output polarity.

pub fn tmrb0clr(&mut self) -> _TMRB0CLRW[src]

Bit 27 - Counter/Timer B0 Clear bit.

pub fn tmrb0ie1(&mut self) -> _TMRB0IE1W[src]

Bit 26 - Counter/Timer B0 Interrupt Enable bit for COMPR1.

pub fn tmrb0ie0(&mut self) -> _TMRB0IE0W[src]

Bit 25 - Counter/Timer B0 Interrupt Enable bit for COMPR0.

pub fn tmrb0fn(&mut self) -> _TMRB0FNW[src]

Bits 22:24 - Counter/Timer B0 Function Select.

pub fn tmrb0clk(&mut self) -> _TMRB0CLKW[src]

Bits 17:21 - Counter/Timer B0 Clock Select.

pub fn tmrb0en(&mut self) -> _TMRB0ENW[src]

Bit 16 - Counter/Timer B0 Enable bit.

pub fn tmra0pol(&mut self) -> _TMRA0POLW[src]

Bit 12 - Counter/Timer A0 output polarity.

pub fn tmra0clr(&mut self) -> _TMRA0CLRW[src]

Bit 11 - Counter/Timer A0 Clear bit.

pub fn tmra0ie1(&mut self) -> _TMRA0IE1W[src]

Bit 10 - Counter/Timer A0 Interrupt Enable bit based on COMPR1.

pub fn tmra0ie0(&mut self) -> _TMRA0IE0W[src]

Bit 9 - Counter/Timer A0 Interrupt Enable bit based on COMPR0.

pub fn tmra0fn(&mut self) -> _TMRA0FNW[src]

Bits 6:8 - Counter/Timer A0 Function Select.

pub fn tmra0clk(&mut self) -> _TMRA0CLKW[src]

Bits 1:5 - Counter/Timer A0 Clock Select.

pub fn tmra0en(&mut self) -> _TMRA0ENW[src]

Bit 0 - Counter/Timer A0 Enable bit.

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