Struct lpc845_pac::ctimer0::ctcr::CTMODE_W [−][src]
pub struct CTMODE_W<'a> { /* fields omitted */ }
Expand description
Field CTMODE
writer - Counter/Timer Mode This field selects which rising APB bus clock edges can increment Timer’s Prescale Counter (PC), or clear PC and increment Timer Counter (TC). Timer Mode: the TC is incremented when the Prescale Counter matches the Prescale Register.
Implementations
Counter Mode rising edge. TC is incremented on rising edges on the CAP input selected by bits 3:2.
Counter Mode falling edge. TC is incremented on falling edges on the CAP input selected by bits 3:2.
Counter Mode dual edge. TC is incremented on both edges on the CAP input selected by bits 3:2.