Type Alias rp2040_pac::pwm::ch::cc::W

source ·
pub type W = W<CC_SPEC>;
Expand description

Register CC writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn a(&mut self) -> A_W<'_, CC_SPEC>

Bits 0:15

source

pub fn b(&mut self) -> B_W<'_, CC_SPEC>

Bits 16:31

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual