Type Alias rp2040_pac::pio0::sm::sm_clkdiv::R

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

Register SM_CLKDIV reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn frac(&self) -> FRAC_R

Bits 8:15 - Fractional part of clock divisor

source

pub fn int(&self) -> INT_R

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.