Type Alias d1_pac::gpio::pb_cfg0::PB5_SELECT_R

source ·
pub type PB5_SELECT_R = FieldReader<u8, PB5_SELECT_A>;
Expand description

Field pb5_select reader -

Aliased Type§

struct PB5_SELECT_R { /* private fields */ }

Implementations§

source§

impl PB5_SELECT_R

source

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

Checks if the value of the field is LCD0_D9

source

pub fn is_i2_s2_bclk(&self) -> bool

Checks if the value of the field is I2_S2_BCLK

source

pub fn is_twi1_sda(&self) -> bool

Checks if the value of the field is TWI1_SDA

source

pub fn is_pwm0(&self) -> bool

Checks if the value of the field is PWM0

source

pub fn is_lcd0_d21(&self) -> bool

Checks if the value of the field is LCD0_D21

source

pub fn is_uart5_rx(&self) -> bool

Checks if the value of the field is UART5_RX

source

pub fn is_pb_eint5(&self) -> bool

Checks if the value of the field is PB_EINT5

source

pub fn is_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE