Type Alias nrf52840_pac::ccm::enable::ENABLE_R

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

Field ENABLE reader - Enable or disable CCM

Aliased Type§

struct ENABLE_R { /* private fields */ }

Implementations§

source§

impl ENABLE_R

source

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

Get enumerated values variant

source

pub fn is_disabled(&self) -> bool

Checks if the value of the field is DISABLED

source

pub fn is_enabled(&self) -> bool

Checks if the value of the field is ENABLED