[][src]Type Definition lpc55_pac::ctimer0::ctcr::CTMODE_R

type CTMODE_R = R<u8, CTMODE_A>;
[]

Reader of field CTMODE

Implementations

impl CTMODE_R[src][]

pub fn variant(&self) -> CTMODE_A[src][]

Get enumerated values variant

pub fn is_timer(&self) -> bool[src][]

Checks if the value of the field is TIMER

pub fn is_counter_rising_edge(&self) -> bool[src][]

Checks if the value of the field is COUNTER_RISING_EDGE

pub fn is_counter_falling_edge(&self) -> bool[src][]

Checks if the value of the field is COUNTER_FALLING_EDGE

pub fn is_counter_dual_edge(&self) -> bool[src][]

Checks if the value of the field is COUNTER_DUAL_EDGE