Type Alias d1_pac::gpio::pb_cfg0::PB0_SELECT_R

source ·
pub type PB0_SELECT_R = FieldReader<u8, PB0_SELECT_A>;
Expand description

Field pb0_select reader -

Aliased Type§

struct PB0_SELECT_R { /* private fields */ }

Implementations§

source§

impl PB0_SELECT_R

source

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

Checks if the value of the field is PWM3

source

pub fn is_ir_tx(&self) -> bool

Checks if the value of the field is IR_TX

source

pub fn is_twi2_sck(&self) -> bool

Checks if the value of the field is TWI2_SCK

source

pub fn is_spi1_wp_dbi_te(&self) -> bool

Checks if the value of the field is SPI1_WP_DBI_TE

source

pub fn is_uart0_tx(&self) -> bool

Checks if the value of the field is UART0_TX

source

pub fn is_uart2_tx(&self) -> bool

Checks if the value of the field is UART2_TX

source

pub fn is_owa_out(&self) -> bool

Checks if the value of the field is OWA_OUT

source

pub fn is_pb_eint0(&self) -> bool

Checks if the value of the field is PB_EINT0

source

pub fn is_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE