Type Alias d1_pac::gpio::pd_cfg2::PD21_SELECT_R

source ·
pub type PD21_SELECT_R = FieldReader<u8, PD21_SELECT_A>;
Expand description

Field pd21_select reader - PD21 Select

Aliased Type§

struct PD21_SELECT_R { /* private fields */ }

Implementations§

source§

impl PD21_SELECT_R

source

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

Checks if the value of the field is LCD0_VSYNC

source

pub fn is_uart1_tx(&self) -> bool

Checks if the value of the field is UART1_TX

source

pub fn is_pd_eint21(&self) -> bool

Checks if the value of the field is PD_EINT21

source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

source

pub fn is_twi2_sda(&self) -> bool

Checks if the value of the field is TWI2_SDA

source

pub fn is_pwm5(&self) -> bool

Checks if the value of the field is PWM5

source

pub fn is_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE