W

Type Alias W 

pub type W = W<CsrSpec>;
Expand description

Register CSR writer

Aliased Type§

pub struct W { /* private fields */ }

Implementations§

§

impl W

pub fn ten(&mut self) -> TenW<'_, CsrSpec>

Bit 0 - Timer Enable

pub fn tms(&mut self) -> TmsW<'_, CsrSpec>

Bit 1 - Timer Mode Select

pub fn tfc(&mut self) -> TfcW<'_, CsrSpec>

Bit 2 - Timer Free-Running Counter

pub fn tpp(&mut self) -> TppW<'_, CsrSpec>

Bit 3 - Timer Pin Polarity

pub fn tps(&mut self) -> TpsW<'_, CsrSpec>

Bits 4:5 - Timer Pin Select

pub fn tie(&mut self) -> TieW<'_, CsrSpec>

Bit 6 - Timer Interrupt Enable

pub fn tcf(&mut self) -> TcfW<'_, CsrSpec>

Bit 7 - Timer Compare Flag

pub fn tdre(&mut self) -> TdreW<'_, CsrSpec>

Bit 8 - Timer DMA Request Enable