Type Alias rp2040_pac::pwm::ch::top::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