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

source

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

Checks if the value of the field is SDC0_CLK

source

pub fn is_twi0_sck(&self) -> bool

Checks if the value of the field is TWI0_SCK

source

pub fn is_owa_in(&self) -> bool

Checks if the value of the field is OWA_IN

source

pub fn is_pf_eint2(&self) -> bool

Checks if the value of the field is PF_EINT2

source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

source

pub fn is_uart0_tx(&self) -> bool

Checks if the value of the field is UART0_TX

source

pub fn is_ledc_do(&self) -> bool

Checks if the value of the field is LEDC_DO

source

pub fn is_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE