Type Definition gd32f1::gd32f170::timer1::ctl0::R[][src]

type R = R<u16, CTL0>;

Reader of register CTL0

Implementations

impl R[src]

pub fn ckdiv(&self) -> CKDIV_R[src]

Bits 8:9 - Clock division

pub fn arse(&self) -> ARSE_R[src]

Bit 7 - Auto-reload shadow enable

pub fn cam(&self) -> CAM_R[src]

Bits 5:6 - Counter aligns mode selection

pub fn dir(&self) -> DIR_R[src]

Bit 4 - Direction

pub fn spm(&self) -> SPM_R[src]

Bit 3 - Single pulse mode

pub fn ups(&self) -> UPS_R[src]

Bit 2 - Update request source

pub fn updis(&self) -> UPDIS_R[src]

Bit 1 - Update disable

pub fn cen(&self) -> CEN_R[src]

Bit 0 - Counter enable