Type Alias d1_pac::gpio::pf_cfg0::PF2_SELECT_R
source · pub type PF2_SELECT_R = FieldReader<u8, PF2_SELECT_A>;
Expand description
Field pf2_select
reader - PF2 Select
Aliased Type§
struct PF2_SELECT_R { /* private fields */ }
Implementations§
source§impl PF2_SELECT_R
impl PF2_SELECT_R
sourcepub fn variant(&self) -> Option<PF2_SELECT_A>
pub fn variant(&self) -> Option<PF2_SELECT_A>
Get enumerated values variant
sourcepub fn is_sdc0_clk(&self) -> bool
pub fn is_sdc0_clk(&self) -> bool
Checks if the value of the field is SDC0_CLK
sourcepub fn is_twi0_sck(&self) -> bool
pub fn is_twi0_sck(&self) -> bool
Checks if the value of the field is TWI0_SCK
sourcepub fn is_pf_eint2(&self) -> bool
pub fn is_pf_eint2(&self) -> bool
Checks if the value of the field is PF_EINT2
sourcepub fn is_uart0_tx(&self) -> bool
pub fn is_uart0_tx(&self) -> bool
Checks if the value of the field is UART0_TX
sourcepub fn is_ledc_do(&self) -> bool
pub fn is_ledc_do(&self) -> bool
Checks if the value of the field is LEDC_DO
sourcepub fn is_io_disable(&self) -> bool
pub fn is_io_disable(&self) -> bool
Checks if the value of the field is IO_DISABLE