Type Alias atsame51g::sys_tick::csr::R

source ·
pub type R = R<CSR_SPEC>;
Expand description

Register CSR reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn enable(&self) -> ENABLE_R

Bit 0 - SysTick Counter Enable

source

pub fn tickint(&self) -> TICKINT_R

Bit 1 - SysTick Exception Request Enable

source

pub fn clksource(&self) -> CLKSOURCE_R

Bit 2 - Clock Source 0=external, 1=processor

source

pub fn countflag(&self) -> COUNTFLAG_R

Bit 16 - Timer counted to 0 since last read of register