Type Alias d1_pac::gpio::pc_cfg0::PC5_SELECT_R

source ·
pub type PC5_SELECT_R = FieldReader<u8, PC5_SELECT_A>;
Expand description

Field pc5_select reader - PC5 Select

Aliased Type§

struct PC5_SELECT_R { /* private fields */ }

Implementations§

source§

impl PC5_SELECT_R

source

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

Checks if the value of the field is SPI0_MISO

source

pub fn is_boot_sel1(&self) -> bool

Checks if the value of the field is BOOT_SEL1

source

pub fn is_pc_eint5(&self) -> bool

Checks if the value of the field is PC_EINT5

source

pub fn is_output(&self) -> bool

Checks if the value of the field is OUTPUT

source

pub fn is_sdc2_d1(&self) -> bool

Checks if the value of the field is SDC2_D1

source

pub fn is_io_disable(&self) -> bool

Checks if the value of the field is IO_DISABLE