Struct bl702_pac::glb::gpio_cfgctl0::R
source · pub struct R(_);
Expand description
Register GPIO_CFGCTL0
reader
Implementations§
source§impl R
impl R
sourcepub fn reg_gpio_0_ie(&self) -> REG_GPIO_0_IE_R
pub fn reg_gpio_0_ie(&self) -> REG_GPIO_0_IE_R
Bit 0
sourcepub fn reg_gpio_0_smt(&self) -> REG_GPIO_0_SMT_R
pub fn reg_gpio_0_smt(&self) -> REG_GPIO_0_SMT_R
Bit 1
sourcepub fn reg_gpio_0_drv(&self) -> REG_GPIO_0_DRV_R
pub fn reg_gpio_0_drv(&self) -> REG_GPIO_0_DRV_R
Bits 2:3
sourcepub fn reg_gpio_0_pu(&self) -> REG_GPIO_0_PU_R
pub fn reg_gpio_0_pu(&self) -> REG_GPIO_0_PU_R
Bit 4
sourcepub fn reg_gpio_0_pd(&self) -> REG_GPIO_0_PD_R
pub fn reg_gpio_0_pd(&self) -> REG_GPIO_0_PD_R
Bit 5
sourcepub fn reg_gpio_0_func_sel(&self) -> REG_GPIO_0_FUNC_SEL_R
pub fn reg_gpio_0_func_sel(&self) -> REG_GPIO_0_FUNC_SEL_R
Bits 8:12
sourcepub fn reg_gpio_1_ie(&self) -> REG_GPIO_1_IE_R
pub fn reg_gpio_1_ie(&self) -> REG_GPIO_1_IE_R
Bit 16
sourcepub fn reg_gpio_1_smt(&self) -> REG_GPIO_1_SMT_R
pub fn reg_gpio_1_smt(&self) -> REG_GPIO_1_SMT_R
Bit 17
sourcepub fn reg_gpio_1_drv(&self) -> REG_GPIO_1_DRV_R
pub fn reg_gpio_1_drv(&self) -> REG_GPIO_1_DRV_R
Bits 18:19
sourcepub fn reg_gpio_1_pu(&self) -> REG_GPIO_1_PU_R
pub fn reg_gpio_1_pu(&self) -> REG_GPIO_1_PU_R
Bit 20
sourcepub fn reg_gpio_1_pd(&self) -> REG_GPIO_1_PD_R
pub fn reg_gpio_1_pd(&self) -> REG_GPIO_1_PD_R
Bit 21
sourcepub fn reg_gpio_1_func_sel(&self) -> REG_GPIO_1_FUNC_SEL_R
pub fn reg_gpio_1_func_sel(&self) -> REG_GPIO_1_FUNC_SEL_R
Bits 24:28