Type Alias d1_pac::gpio::pg_cfg0::PG2_SELECT_R
source · pub type PG2_SELECT_R = FieldReader<u8, PG2_SELECT_A>;
Expand description
Field pg2_select
reader - PG2 Select
Aliased Type§
struct PG2_SELECT_R { /* private fields */ }
Implementations§
source§impl PG2_SELECT_R
impl PG2_SELECT_R
sourcepub fn variant(&self) -> Option<PG2_SELECT_A>
pub fn variant(&self) -> Option<PG2_SELECT_A>
Get enumerated values variant
sourcepub fn is_sdc1_d0(&self) -> bool
pub fn is_sdc1_d0(&self) -> bool
Checks if the value of the field is SDC1_D0
sourcepub fn is_rgmii_rxd1_rmii_rxd1(&self) -> bool
pub fn is_rgmii_rxd1_rmii_rxd1(&self) -> bool
Checks if the value of the field is RGMII_RXD1_RMII_RXD1
sourcepub fn is_pg_eint2(&self) -> bool
pub fn is_pg_eint2(&self) -> bool
Checks if the value of the field is PG_EINT2
sourcepub fn is_uart3_rts(&self) -> bool
pub fn is_uart3_rts(&self) -> bool
Checks if the value of the field is UART3_RTS
sourcepub fn is_uart4_tx(&self) -> bool
pub fn is_uart4_tx(&self) -> bool
Checks if the value of the field is UART4_TX
sourcepub fn is_io_disable(&self) -> bool
pub fn is_io_disable(&self) -> bool
Checks if the value of the field is IO_DISABLE