[][src]Type Definition lpc55s6x_pac::utick0::cap::R

type R = R<u32, CAP>;

Reader of register CAP[%s]

Methods

impl R[src]

pub fn cap_value(&self) -> CAP_VALUE_R[src]

Bits 0:30 - Capture value for the related capture event (UTICK_CAPn. Note: the value is 1 lower than the actual value of the Micro-tick Timer at the moment of the capture event.

pub fn valid(&self) -> VALID_R[src]

Bit 31 - Capture Valid. When 1, a value has been captured based on a transition of the related UTICK_CAPn pin. Cleared by writing to the related bit in the CAPCLR register.