Type Alias d1_pac::gpio::pb_cfg0::PB1_SELECT_R

source ·
pub type PB1_SELECT_R = FieldReader<u8, PB1_SELECT_A>;
Expand description

Field pb1_select reader -

Aliased Type§

struct PB1_SELECT_R { /* private fields */ }

Implementations§

source§

impl PB1_SELECT_R

source

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

Checks if the value of the field is PWM4

source

pub fn is_i2_s2_dout3(&self) -> bool

Checks if the value of the field is I2_S2_DOUT3

source

pub fn is_twi2_sda(&self) -> bool

Checks if the value of the field is TWI2_SDA

source

pub fn is_i2_s2_din3(&self) -> bool

Checks if the value of the field is I2_S2_DIN3

source

pub fn is_uart0_rx(&self) -> bool

Checks if the value of the field is UART0_RX

source

pub fn is_uart2_rx(&self) -> bool

Checks if the value of the field is UART2_RX

source

pub fn is_ir_rx(&self) -> bool

Checks if the value of the field is IR_RX

source

pub fn is_pb_eint1(&self) -> bool

Checks if the value of the field is PB_EINT1

source

pub fn is_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE