Type Alias nrf52840_pac::ppi::chenset::CH2_R

source ·
pub type CH2_R = BitReader<CH2_A>;
Expand description

Field CH2 reader - Channel 2 enable set register. Writing ‘0’ has no effect

Aliased Type§

struct CH2_R { /* private fields */ }

Implementations§

source§

impl CH2_R

source

pub fn variant(&self) -> CH2_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