Type Alias rp2040_pac::rosc::div::DIV_W

source ·
pub type DIV_W<'a, REG> = FieldWriter<'a, REG, 12, DIV_A>;
Expand description

Field DIV writer - 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

Aliased Type§

struct DIV_W<'a, REG> { /* private fields */ }

Implementations§

source§

impl<'a, REG> DIV_W<'a, REG>
where REG: Writable + RegisterSpec, REG::Ux: From<u16>,

source

pub fn pass(self) -> &'a mut W<REG>

101010100000