Type Alias xmc4300::ccu40_cc40::cmc::CNTS_W

source ·
pub type CNTS_W<'a, REG> = FieldWriter<'a, REG, 2, CNTS_A, Safe>;
Expand description

Field CNTS writer - External Count Selector

Aliased Type§

struct CNTS_W<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> CNTS_W<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u8>,

source

pub fn value1(self) -> &'a mut W<REG>

External Count Function deactivated

source

pub fn value2(self) -> &'a mut W<REG>

External Count Function triggered by Event 0

source

pub fn value3(self) -> &'a mut W<REG>

External Count Function triggered by Event 1

source

pub fn value4(self) -> &'a mut W<REG>

External Count Function triggered by Event 2