Type Alias d1_pac::gpio::pb_cfg0::PB2_SELECT_R

source ·
pub type PB2_SELECT_R = FieldReader<u8, PB2_SELECT_A>;
Expand description

Field pb2_select reader -

Aliased Type§

struct PB2_SELECT_R { /* private fields */ }

Implementations§

source§

impl PB2_SELECT_R

source

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

Checks if the value of the field is OUTPUT

source

pub fn is_lcd0_d0(&self) -> bool

Checks if the value of the field is LCD0_D0

source

pub fn is_i2_s2_dout2(&self) -> bool

Checks if the value of the field is I2_S2_DOUT2

source

pub fn is_twi0_sda(&self) -> bool

Checks if the value of the field is TWI0_SDA

source

pub fn is_i2_s2_din2(&self) -> bool

Checks if the value of the field is I2_S2_DIN2

source

pub fn is_lcd0_d18(&self) -> bool

Checks if the value of the field is LCD0_D18

source

pub fn is_uart4_tx(&self) -> bool

Checks if the value of the field is UART4_TX

source

pub fn is_pb_eint2(&self) -> bool

Checks if the value of the field is PB_EINT2

source

pub fn is_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE