Type Alias nrf52840_pac::comp::mode::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