rp2040_pac::rosc::div

Type Alias 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