Struct lpc845_pac::ctimer0::ctcr::CTMODE_R [−][src]
pub struct CTMODE_R(_);
Expand description
Field CTMODE
reader - 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
Checks if the value of the field is COUNTER_RISING_EDGE
Checks if the value of the field is COUNTER_FALLING_EDGE
Checks if the value of the field is COUNTER_DUAL_EDGE
Methods from Deref<Target = FieldReader<u8, CTMODE_A>>
Returns true
if the bit is clear (0).
Returns true
if the bit is set (1).