nrf52840_pac::comp::psel

Type Alias PSEL_R

Source
pub type PSEL_R = FieldReader<u8, PSEL_A>;
Expand description

Field PSEL reader - Analog pin select

Aliased Type§

struct PSEL_R { /* private fields */ }

Implementations§

Source§

impl PSEL_R

Source

pub fn variant(&self) -> PSEL_A

Get enumerated values variant

Source

pub fn is_analog_input0(&self) -> bool

Checks if the value of the field is ANALOG_INPUT0

Source

pub fn is_analog_input1(&self) -> bool

Checks if the value of the field is ANALOG_INPUT1

Source

pub fn is_analog_input2(&self) -> bool

Checks if the value of the field is ANALOG_INPUT2

Source

pub fn is_analog_input3(&self) -> bool

Checks if the value of the field is ANALOG_INPUT3

Source

pub fn is_analog_input4(&self) -> bool

Checks if the value of the field is ANALOG_INPUT4

Source

pub fn is_analog_input5(&self) -> bool

Checks if the value of the field is ANALOG_INPUT5

Source

pub fn is_analog_input6(&self) -> bool

Checks if the value of the field is ANALOG_INPUT6

Source

pub fn is_analog_input7(&self) -> bool

Checks if the value of the field is ANALOG_INPUT7