Type Alias d1_pac::gpio::pd_cfg0::PD2_SELECT_R

source ·
pub type PD2_SELECT_R = FieldReader<u8, PD2_SELECT_A>;
Expand description

Field pd2_select reader - PD2 Select

Aliased Type§

struct PD2_SELECT_R { /* private fields */ }

Implementations§

source§

impl PD2_SELECT_R

source

pub fn variant(&self) -> Option<PD2_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_d4(&self) -> bool

Checks if the value of the field is LCD0_D4

source

pub fn is_dsi_d1p(&self) -> bool

Checks if the value of the field is DSI_D1P

source

pub fn is_pd_eint2(&self) -> bool

Checks if the value of the field is PD_EINT2

source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

source

pub fn is_lvds0_v1p(&self) -> bool

Checks if the value of the field is LVDS0_V1P

source

pub fn is_uart2_rx(&self) -> bool

Checks if the value of the field is UART2_RX

source

pub fn is_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE