Type Alias d1_pac::gpio::pe_cfg0::PE2_SELECT_R

source ·
pub type PE2_SELECT_R = FieldReader<u8, PE2_SELECT_A>;
Expand description

Field pe2_select reader - PE2 Select

Aliased Type§

struct PE2_SELECT_R { /* private fields */ }

Implementations§

source§

impl PE2_SELECT_R

source

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

Checks if the value of the field is NCSI0_PCLK

source

pub fn is_twi0_sck(&self) -> bool

Checks if the value of the field is TWI0_SCK

source

pub fn is_uart0_tx(&self) -> bool

Checks if the value of the field is UART0_TX

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_pe_eint2(&self) -> bool

Checks if the value of the field is PE_EINT2

source

pub fn is_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE

source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

source

pub fn is_uart2_tx(&self) -> bool

Checks if the value of the field is UART2_TX

source

pub fn is_clk_fanout0(&self) -> bool

Checks if the value of the field is CLK_FANOUT0