Type Alias nrf52840_pac::comp::extrefsel::EXTREFSEL_R

source ·
pub type EXTREFSEL_R = FieldReader<u8, EXTREFSEL_A>;
Expand description

Field EXTREFSEL reader - External analog reference select

Aliased Type§

struct EXTREFSEL_R { /* private fields */ }

Implementations§

source§

impl EXTREFSEL_R

source

pub fn variant(&self) -> EXTREFSEL_A

Get enumerated values variant

source

pub fn is_analog_reference0(&self) -> bool

Checks if the value of the field is ANALOG_REFERENCE0

source

pub fn is_analog_reference1(&self) -> bool

Checks if the value of the field is ANALOG_REFERENCE1

source

pub fn is_analog_reference2(&self) -> bool

Checks if the value of the field is ANALOG_REFERENCE2

source

pub fn is_analog_reference3(&self) -> bool

Checks if the value of the field is ANALOG_REFERENCE3

source

pub fn is_analog_reference4(&self) -> bool

Checks if the value of the field is ANALOG_REFERENCE4

source

pub fn is_analog_reference5(&self) -> bool

Checks if the value of the field is ANALOG_REFERENCE5

source

pub fn is_analog_reference6(&self) -> bool

Checks if the value of the field is ANALOG_REFERENCE6

source

pub fn is_analog_reference7(&self) -> bool

Checks if the value of the field is ANALOG_REFERENCE7