Type Alias gd32f1::gd32f190::timer5::ctl1::MmcW

source ·
pub type MmcW<'a, REG> = FieldWriter<'a, REG, 3, Mmc>;
Expand description

Field MMC writer - Master mode control

Aliased Type§

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

Implementations§

source§

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

source

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

Use UPG bit from SWEVG register

source

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

Use CEN bit from CTL0 register

source

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

Use the update event