Type Alias nrf52840_pac::comp::refsel::REFSEL_R

source ·
pub type REFSEL_R = FieldReader<u8, REFSEL_A>;
Expand description

Field REFSEL reader - Reference select

Aliased Type§

struct REFSEL_R { /* private fields */ }

Implementations§

source§

impl REFSEL_R

source

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

Get enumerated values variant

source

pub fn is_int1v2(&self) -> bool

Checks if the value of the field is INT1V2

source

pub fn is_int1v8(&self) -> bool

Checks if the value of the field is INT1V8

source

pub fn is_int2v4(&self) -> bool

Checks if the value of the field is INT2V4

source

pub fn is_vdd(&self) -> bool

Checks if the value of the field is VDD

source

pub fn is_aref(&self) -> bool

Checks if the value of the field is AREF