Type Alias d1_pac::gpio::pc_cfg0::PC0_SELECT_R

source ·
pub type PC0_SELECT_R = FieldReader<u8, PC0_SELECT_A>;
Expand description

Field pc0_select reader - PC0 Select

Aliased Type§

struct PC0_SELECT_R { /* private fields */ }

Implementations§

source§

impl PC0_SELECT_R

source

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

Checks if the value of the field is UART2_TX

source

pub fn is_ledc_do(&self) -> bool

Checks if the value of the field is LEDC_DO

source

pub fn is_pc_eint0(&self) -> bool

Checks if the value of the field is PC_EINT0

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_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE