Type Alias d1_pac::gpio::pc_cfg0::PC1_SELECT_R

source ·
pub type PC1_SELECT_R = FieldReader<u8, PC1_SELECT_A>;
Expand description

Field pc1_select reader - PC1 Select.

Aliased Type§

struct PC1_SELECT_R { /* private fields */ }

Implementations§

source§

impl PC1_SELECT_R

source

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

Checks if the value of the field is UART2_RX

source

pub fn is_pc_eint1(&self) -> bool

Checks if the value of the field is PC_EINT1

source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

source

pub fn is_twi2_sda(&self) -> bool

Checks if the value of the field is TWI2_SDA

source

pub fn is_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE