Type Alias gd32f1::gd32f190::timer15::swevg::W

source ·
pub type W = W<SwevgSpec>;
Expand description

Register SWEVG writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn upg(&mut self) -> UpgW<'_, SwevgSpec>

Bit 0 - Update generation

source

pub fn ch0g(&mut self) -> Ch0gW<'_, SwevgSpec>

Bit 1 - Channel 0 capture or compare event generation

source

pub fn cmtg(&mut self) -> CmtgW<'_, SwevgSpec>

Bit 5 - Channel commutation event generation

source

pub fn brkg(&mut self) -> BrkgW<'_, SwevgSpec>

Bit 7 - Break event generation