nrf52840_pac::comp::refsel

Type Alias 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