# W in k210_pac::timer0::channel::control - Rust
Writer for register control
Keywords: rust, rustlang, rust-lang, W

# Type Definition k210_pac::timer0::channel::control::W

source · [−]

    pub type W = W<u32, CONTROL>;

Expand description

Writer for register control

## Implementations

source

### impl W

source

#### pub fn enable(&mut self) -> ENABLE_W<'_>

Bit 0 - ENABLE

source

#### pub fn mode(&mut self) -> MODE_W<'_>

Bit 1 - MODE

source

#### pub fn interrupt(&mut self) -> INTERRUPT_W<'_>

Bit 2 - INTERRUPT_MASK

source

#### pub fn pwm_enable(&mut self) -> PWM_ENABLE_W<'_>

Bit 3 - PWM_ENABLE