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

Writes variant to the field

Timer Mode. Incremented every rising APB bus clock edge.

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.

Writes raw bits to the field

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.