rp2040_pac::pwm::ch::top

Type Alias W

Source
pub type W = W<TOP_SPEC>;
Expand description

Register TOP writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn top(&mut self) -> TOP_W<'_, TOP_SPEC>

Bits 0:15

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