Type Alias gd32f1::gd32f130::timer0::ctl0::UpsW

source ·
pub type UpsW<'a, REG> = BitWriter<'a, REG, Ups>;
Expand description

Field UPS writer - Update source

Aliased Type§

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

Implementations§

source§

impl<'a, REG> UpsW<'a, REG>
where REG: Writable + RegisterSpec,

source

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

Any of counter overflow/underflow, setting UPG, or update through slave mode, generates an update interrupt or DMA request

source

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

Only counter overflow/underflow generates an update interrupt or DMA request