Type Alias d1_pac::gpio::pb_cfg0::PB2_SELECT_R
source · pub type PB2_SELECT_R = FieldReader<u8, PB2_SELECT_A>;
Expand description
Field pb2_select
reader -
Aliased Type§
struct PB2_SELECT_R { /* private fields */ }
Implementations§
source§impl PB2_SELECT_R
impl PB2_SELECT_R
sourcepub fn variant(&self) -> Option<PB2_SELECT_A>
pub fn variant(&self) -> Option<PB2_SELECT_A>
Get enumerated values variant
sourcepub fn is_lcd0_d0(&self) -> bool
pub fn is_lcd0_d0(&self) -> bool
Checks if the value of the field is LCD0_D0
sourcepub fn is_i2_s2_dout2(&self) -> bool
pub fn is_i2_s2_dout2(&self) -> bool
Checks if the value of the field is I2_S2_DOUT2
sourcepub fn is_twi0_sda(&self) -> bool
pub fn is_twi0_sda(&self) -> bool
Checks if the value of the field is TWI0_SDA
sourcepub fn is_i2_s2_din2(&self) -> bool
pub fn is_i2_s2_din2(&self) -> bool
Checks if the value of the field is I2_S2_DIN2
sourcepub fn is_lcd0_d18(&self) -> bool
pub fn is_lcd0_d18(&self) -> bool
Checks if the value of the field is LCD0_D18
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_pb_eint2(&self) -> bool
pub fn is_pb_eint2(&self) -> bool
Checks if the value of the field is PB_EINT2
sourcepub fn is_io_disable(&self) -> bool
pub fn is_io_disable(&self) -> bool
Checks if the value of the field is IO_DISABLE