[][src]Type Definition lpc54606_pac::ctimer0::pwmc::W

type W = W<u32, PWMC>;

Writer for register PWMC

Methods

impl W[src]

pub fn pwmen0(&mut self) -> PWMEN0_W[src]

Bit 0 - PWM mode enable for channel0.

pub fn pwmen1(&mut self) -> PWMEN1_W[src]

Bit 1 - PWM mode enable for channel1.

pub fn pwmen2(&mut self) -> PWMEN2_W[src]

Bit 2 - PWM mode enable for channel2.

pub fn pwmen3(&mut self) -> PWMEN3_W[src]

Bit 3 - PWM mode enable for channel3. Note: It is recommended to use match channel 3 to set the PWM cycle.