Type Alias d1_pac::gpio::pb_cfg1::PB12_SELECT_R

source ·
pub type PB12_SELECT_R = FieldReader<u8, PB12_SELECT_A>;
Expand description

Field pb12_select reader -

Aliased Type§

struct PB12_SELECT_R { /* private fields */ }

Implementations§

source§

impl PB12_SELECT_R

source

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

Checks if the value of the field is DMIC_CLK

source

pub fn is_pwm0(&self) -> bool

Checks if the value of the field is PWM0

source

pub fn is_owa_in(&self) -> bool

Checks if the value of the field is OWA_IN

source

pub fn is_spi1_cs_dbi_csx(&self) -> bool

Checks if the value of the field is SPI1_CS_DBI_CSX

source

pub fn is_clk_fanout2(&self) -> bool

Checks if the value of the field is CLK_FANOUT2

source

pub fn is_ir_rx(&self) -> bool

Checks if the value of the field is IR_RX

source

pub fn is_pb_eint12(&self) -> bool

Checks if the value of the field is PB_EINT12

source

pub fn is_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE