Type Alias rp2040_pac::clocks::clk_gpout3_div::W

source ·
pub type W = W<CLK_GPOUT3_DIV_SPEC>;
Expand description

Register CLK_GPOUT3_DIV writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn frac(&mut self) -> FRAC_W<'_, CLK_GPOUT3_DIV_SPEC>

Bits 0:7 - Fractional component of the divisor

source

pub fn int(&mut self) -> INT_W<'_, CLK_GPOUT3_DIV_SPEC>

Bits 8:31 - Integer component of the divisor, 0 -> divide by 2^16

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

§Safety

Passing incorrect value can cause undefined behaviour. See reference manual