Type Alias d1_pac::gpio::pg_cfg0::PG6_SELECT_R

source ·
pub type PG6_SELECT_R = FieldReader<u8, PG6_SELECT_A>;
Expand description

Field pg6_select reader - PG6 Select

Aliased Type§

struct PG6_SELECT_R { /* private fields */ }

Implementations§

source§

impl PG6_SELECT_R

source

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

Checks if the value of the field is UART1_TX

source

pub fn is_rgmii_txd2(&self) -> bool

Checks if the value of the field is RGMII_TXD2

source

pub fn is_pg_eint6(&self) -> bool

Checks if the value of the field is PG_EINT6

source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

source

pub fn is_twi2_sck(&self) -> bool

Checks if the value of the field is TWI2_SCK

source

pub fn is_pwm1(&self) -> bool

Checks if the value of the field is PWM1

source

pub fn is_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE