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

source

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

Checks if the value of the field is SDC1_D0

source

pub fn is_rgmii_rxd1_rmii_rxd1(&self) -> bool

Checks if the value of the field is RGMII_RXD1_RMII_RXD1

source

pub fn is_pg_eint2(&self) -> bool

Checks if the value of the field is PG_EINT2

source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

source

pub fn is_uart3_rts(&self) -> bool

Checks if the value of the field is UART3_RTS

source

pub fn is_uart4_tx(&self) -> bool

Checks if the value of the field is UART4_TX

source

pub fn is_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE