Type Alias d1_pac::gpio::pb_cfg1::PB10_SELECT_R

source ·
pub type PB10_SELECT_R = FieldReader<u8, PB10_SELECT_A>;
Expand description

Field pb10_select reader -

Aliased Type§

struct PB10_SELECT_R { /* private fields */ }

Implementations§

source§

impl PB10_SELECT_R

source

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

Checks if the value of the field is DMIC_DATA1

source

pub fn is_pwm7(&self) -> bool

Checks if the value of the field is PWM7

source

pub fn is_twi0_sck(&self) -> bool

Checks if the value of the field is TWI0_SCK

source

pub fn is_spi1_mosi_dbi_sdo(&self) -> bool

Checks if the value of the field is SPI1_MOSI_DBI_SDO

source

pub fn is_clk_fanout0(&self) -> bool

Checks if the value of the field is CLK_FANOUT0

source

pub fn is_uart1_rts(&self) -> bool

Checks if the value of the field is UART1_RTS

source

pub fn is_pb_eint10(&self) -> bool

Checks if the value of the field is PB_EINT10

source

pub fn is_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE