Type Alias d1_pac::gpio::pd_cfg2::PD18_SELECT_R

source ·
pub type PD18_SELECT_R = FieldReader<u8, PD18_SELECT_A>;
Expand description

Field pd18_select reader - PD18 Select

Aliased Type§

struct PD18_SELECT_R { /* private fields */ }

Implementations§

source§

impl PD18_SELECT_R

source

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

Get enumerated values variant

source

pub fn is_input(&self) -> bool

Checks if the value of the field is INPUT

source

pub fn is_lcd0_clk(&self) -> bool

Checks if the value of the field is LCD0_CLK

source

pub fn is_dmic_data1(&self) -> bool

Checks if the value of the field is DMIC_DATA1

source

pub fn is_pd_eint18(&self) -> bool

Checks if the value of the field is PD_EINT18

source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

source

pub fn is_lvds1_v3p(&self) -> bool

Checks if the value of the field is LVDS1_V3P

source

pub fn is_pwm2(&self) -> bool

Checks if the value of the field is PWM2

source

pub fn is_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE