Type Alias rp2040_pac::rosc::div::R

source ·
pub type R = R<DIV_SPEC>;
Expand description

Register DIV reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn div(&self) -> DIV_R

Bits 0:11 - set to 0xaa0 + div where
div = 0 divides by 32
div = 1-31 divides by div
any other value sets div=31
this register resets to div=16