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 enable(&mut self) -> EnableW<'_, CsrSpec>

Bit 0 - Enables the counter

pub fn tickint(&mut self) -> TickintW<'_, CsrSpec>

Bit 1 - Enables SysTick exception request

pub fn clksource(&mut self) -> ClksourceW<'_, CsrSpec>

Bit 2 - Indicates the clock source

pub fn countflag(&mut self) -> CountflagW<'_, CsrSpec>

Bit 16 - Returns 1 if timer counted to 0 since last time this was read