Type Alias gd32f1::gd32f130::timer14::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 ch1g(&mut self) -> Ch1gW<'_, SwevgSpec>

Bit 2 - Channel 1 capture or compare event generation

source

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

Bit 5 - Channel commutation event generation

source

pub fn trgg(&mut self) -> TrggW<'_, SwevgSpec>

Bit 6 - Trigger generation

source

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

Bit 7 - Break generation