pub type W = W<SM_CLKDIV_SPEC>;
Expand description
Register SM_CLKDIV
writer
Aliased Type§
struct W { /* private fields */ }
Implementations§
source§impl W
impl W
sourcepub fn frac(&mut self) -> FRAC_W<'_, SM_CLKDIV_SPEC>
pub fn frac(&mut self) -> FRAC_W<'_, SM_CLKDIV_SPEC>
Bits 8:15 - Fractional part of clock divisor
sourcepub fn int(&mut self) -> INT_W<'_, SM_CLKDIV_SPEC>
pub fn int(&mut self) -> INT_W<'_, SM_CLKDIV_SPEC>
Bits 16:31 - Effective frequency is sysclk/(int + frac/256).
Value of 0 is interpreted as 65536. If INT is 0, FRAC must also be 0.