Struct zinc_hal_lpc11xx::ioregs::CT32B0_cr1_Get
[−]
[src]
pub struct CT32B0_cr1_Get { // some fields omitted }
CR1
: Capture Register (CR). CR is loaded with the value of TC when there is an event on the CT16Bn_CAPm input.
Methods
impl CT32B0_cr1_Get
fn new(reg: &CT32B0_cr1) -> CT32B0_cr1_Get
Create a getter reflecting the current value of the given register.
fn raw(&self) -> u32
Get the raw value of the register.
fn cap(&self) -> u32
Get value of CAP
field: Timer counter capture value.