Type Alias nrf52840_pac::comp::psel::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