Struct bl702_pac::glb::gpio_cfgctl1::R
source · pub struct R(_);
Expand description
Register GPIO_CFGCTL1
reader
Implementations§
source§impl R
impl R
sourcepub fn reg_gpio_2_ie(&self) -> REG_GPIO_2_IE_R
pub fn reg_gpio_2_ie(&self) -> REG_GPIO_2_IE_R
Bit 0
sourcepub fn reg_gpio_2_smt(&self) -> REG_GPIO_2_SMT_R
pub fn reg_gpio_2_smt(&self) -> REG_GPIO_2_SMT_R
Bit 1
sourcepub fn reg_gpio_2_drv(&self) -> REG_GPIO_2_DRV_R
pub fn reg_gpio_2_drv(&self) -> REG_GPIO_2_DRV_R
Bits 2:3
sourcepub fn reg_gpio_2_pu(&self) -> REG_GPIO_2_PU_R
pub fn reg_gpio_2_pu(&self) -> REG_GPIO_2_PU_R
Bit 4
sourcepub fn reg_gpio_2_pd(&self) -> REG_GPIO_2_PD_R
pub fn reg_gpio_2_pd(&self) -> REG_GPIO_2_PD_R
Bit 5
sourcepub fn reg_gpio_2_func_sel(&self) -> REG_GPIO_2_FUNC_SEL_R
pub fn reg_gpio_2_func_sel(&self) -> REG_GPIO_2_FUNC_SEL_R
Bits 8:12
sourcepub fn reg_gpio_3_ie(&self) -> REG_GPIO_3_IE_R
pub fn reg_gpio_3_ie(&self) -> REG_GPIO_3_IE_R
Bit 16
sourcepub fn reg_gpio_3_smt(&self) -> REG_GPIO_3_SMT_R
pub fn reg_gpio_3_smt(&self) -> REG_GPIO_3_SMT_R
Bit 17
sourcepub fn reg_gpio_3_drv(&self) -> REG_GPIO_3_DRV_R
pub fn reg_gpio_3_drv(&self) -> REG_GPIO_3_DRV_R
Bits 18:19
sourcepub fn reg_gpio_3_pu(&self) -> REG_GPIO_3_PU_R
pub fn reg_gpio_3_pu(&self) -> REG_GPIO_3_PU_R
Bit 20
sourcepub fn reg_gpio_3_pd(&self) -> REG_GPIO_3_PD_R
pub fn reg_gpio_3_pd(&self) -> REG_GPIO_3_PD_R
Bit 21
sourcepub fn reg_gpio_3_func_sel(&self) -> REG_GPIO_3_FUNC_SEL_R
pub fn reg_gpio_3_func_sel(&self) -> REG_GPIO_3_FUNC_SEL_R
Bits 24:28