nrf52840_pac::comp::mode

Type Alias MAIN_R

Source
pub type MAIN_R = BitReader<MAIN_A>;
Expand description

Field MAIN reader - Main operation modes

Aliased Type§

struct MAIN_R { /* private fields */ }

Implementations§

Source§

impl MAIN_R

Source

pub fn variant(&self) -> MAIN_A

Get enumerated values variant

Source

pub fn is_se(&self) -> bool

Checks if the value of the field is SE

Source

pub fn is_diff(&self) -> bool

Checks if the value of the field is DIFF