Type Alias rp2040_pac::rosc::ctrl::ENABLE_R

source ·
pub type ENABLE_R = FieldReader<ENABLE_A>;
Expand description

Field ENABLE reader - On power-up this field is initialised to ENABLE
The system clock must be switched to another source before setting this field to DISABLE otherwise the chip will lock up
The 12-bit code is intended to give some protection against accidental writes. An invalid setting will enable the oscillator.

Aliased Type§

struct ENABLE_R { /* private fields */ }

Implementations§

source§

impl ENABLE_R

source

pub const fn variant(&self) -> Option<ENABLE_A>

Get enumerated values variant

source

pub fn is_disable(&self) -> bool

110100011110

source

pub fn is_enable(&self) -> bool

111110101011