Type Alias rp2040_pac::xosc::status::W

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

Register STATUS writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

source§

impl W

source

pub fn badwrite(&mut self) -> BADWRITE_W<'_, STATUS_SPEC>

Bit 24 - An invalid value has been written to CTRL_ENABLE or CTRL_FREQ_RANGE or DORMANT

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