Struct zinc_hal_lpc11xx::ioregs::CT32B0_cr1 [] [src]

pub struct CT32B0_cr1 {
    // some fields omitted
}

Register 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

fn get(&self) -> CT32B0_cr1_Get

Fetch the value of the CR1 register.

fn cap(&self) -> u32

Get value of CAP field.

Trait Implementations

impl Copy for CT32B0_cr1

Derived Implementations

impl Clone for CT32B0_cr1

fn clone(&self) -> CT32B0_cr1

fn clone_from(&mut self, source: &Self)