Type Alias xmc4300::ccu40_cc40::tc::CapcR

source ·
pub type CapcR = FieldReader<Capc>;
Expand description

Field CAPC reader - Clear on Capture Control

Aliased Type§

struct CapcR { /* private fields */ }

Implementations§

source§

impl CapcR

source

pub const fn variant(&self) -> Capc

Get enumerated values variant

source

pub fn is_value1(&self) -> bool

Timer is never cleared on a capture event

source

pub fn is_value2(&self) -> bool

Timer is cleared on a capture event into capture registers 2 and 3. (When SCE = 1#, Timer is always cleared in a capture event)

source

pub fn is_value3(&self) -> bool

Timer is cleared on a capture event into capture registers 0 and 1. (When SCE = 1#, Timer is always cleared in a capture event)

source

pub fn is_value4(&self) -> bool

Timer is always cleared in a capture event.