Type Alias nrf52840_pac::uart0::intenset::ERROR_R

source ·
pub type ERROR_R = BitReader<ERROR_A>;
Expand description

Field ERROR reader - Write ‘1’ to enable interrupt for ERROR event

Aliased Type§

struct ERROR_R { /* private fields */ }

Implementations§

source§

impl ERROR_R

source

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