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
impl PD2_SELECT_R
sourcepub fn variant(&self) -> Option<PD2_SELECT_A>
pub fn variant(&self) -> Option<PD2_SELECT_A>
Get enumerated values variant
sourcepub fn is_lcd0_d4(&self) -> bool
pub fn is_lcd0_d4(&self) -> bool
Checks if the value of the field is LCD0_D4
sourcepub fn is_dsi_d1p(&self) -> bool
pub fn is_dsi_d1p(&self) -> bool
Checks if the value of the field is DSI_D1P
sourcepub fn is_pd_eint2(&self) -> bool
pub fn is_pd_eint2(&self) -> bool
Checks if the value of the field is PD_EINT2
sourcepub fn is_lvds0_v1p(&self) -> bool
pub fn is_lvds0_v1p(&self) -> bool
Checks if the value of the field is LVDS0_V1P
sourcepub fn is_uart2_rx(&self) -> bool
pub fn is_uart2_rx(&self) -> bool
Checks if the value of the field is UART2_RX
sourcepub fn is_io_disable(&self) -> bool
pub fn is_io_disable(&self) -> bool
Checks if the value of the field is IO_DISABLE