Type Definition gd32f1::gd32f170::timer0::chctl1_output::W[][src]

type W = W<u16, CHCTL1_OUTPUT>;

Writer for register CHCTL1_Output

Implementations

impl W[src]

pub fn ch3comcen(&mut self) -> CH3COMCEN_W<'_>[src]

Bit 15 - Channel 3 output compare clear enable

pub fn ch3comctl(&mut self) -> CH3COMCTL_W<'_>[src]

Bits 12:14 - Channel 3 compare output control

pub fn ch3comsen(&mut self) -> CH3COMSEN_W<'_>[src]

Bit 11 - Channel 3 output compare shadow enable

pub fn ch3comfen(&mut self) -> CH3COMFEN_W<'_>[src]

Bit 10 - Channel 3 output compare fast enable

pub fn ch3ms(&mut self) -> CH3MS_W<'_>[src]

Bits 8:9 - Channel 3 mode selection

pub fn ch2comcen(&mut self) -> CH2COMCEN_W<'_>[src]

Bit 7 - Channel 2 output compare clear enable

pub fn ch2comctl(&mut self) -> CH2COMCTL_W<'_>[src]

Bits 4:6 - Channel 2 compare output control

pub fn ch2comsen(&mut self) -> CH2COMSEN_W<'_>[src]

Bit 3 - Channel 2 output compare shadow enable

pub fn ch2comfen(&mut self) -> CH2COMFEN_W<'_>[src]

Bit 2 - Channel 2 output compare fast enable

pub fn ch2ms(&mut self) -> CH2MS_W<'_>[src]

Bits 0:1 - Channel 2 mode selection