Type Alias gd32f1::gd32f130::timer1::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 ch2g(&mut self) -> Ch2gW<'_, SwevgSpec>

Bit 3 - Channel 2 capture or compare event generation

source

pub fn ch3g(&mut self) -> Ch3gW<'_, SwevgSpec>

Bit 4 - Channel 3 capture or compare event generation

source

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

Bit 6 - Trigger generation