Home
last modified time | relevance | path

Searched refs:cfg_b (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/pinctrl/
Dpinctrl_ambiq.c37 pin_config.GP.cfg_b.uFuncSel = pin->alt_func; in pinctrl_configure_pin()
38 pin_config.GP.cfg_b.eGPInput = in pinctrl_configure_pin()
40 pin_config.GP.cfg_b.eGPOutCfg = pin->push_pull ? AM_HAL_GPIO_PIN_OUTCFG_PUSHPULL in pinctrl_configure_pin()
44 pin_config.GP.cfg_b.eDriveStrength = pin->drive_strength; in pinctrl_configure_pin()
45 pin_config.GP.cfg_b.uSlewRate = pin->slew_rate; in pinctrl_configure_pin()
46 pin_config.GP.cfg_b.uNCE = pin->iom_nce; in pinctrl_configure_pin()
47 pin_config.GP.cfg_b.eIntDir = pin->interrupt_direction; in pinctrl_configure_pin()
50 pin_config.GP.cfg_b.ePullup = pin->ambiq_pull_up_ohms + AM_HAL_GPIO_PIN_PULLUP_1_5K; in pinctrl_configure_pin()
52 pin_config.GP.cfg_b.ePullup = AM_HAL_GPIO_PIN_PULLDOWN_50K; in pinctrl_configure_pin()
/Zephyr-latest/drivers/gpio/
Dgpio_ambiq.c88 pincfg.GP.cfg_b.ePullup = AM_HAL_GPIO_PIN_PULLUP_50K; in ambiq_gpio_pin_configure()
90 pincfg.GP.cfg_b.ePullup = AM_HAL_GPIO_PIN_PULLDOWN_50K; in ambiq_gpio_pin_configure()
96 pincfg.GP.cfg_b.eGPOutCfg = AM_HAL_GPIO_PIN_OUTCFG_OPENDRAIN; in ambiq_gpio_pin_configure()
98 pincfg.GP.cfg_b.ePullup = AM_HAL_GPIO_PIN_PULLUP_50K; in ambiq_gpio_pin_configure()
100 pincfg.GP.cfg_b.ePullup = AM_HAL_GPIO_PIN_PULLDOWN_50K; in ambiq_gpio_pin_configure()
104 pincfg.GP.cfg_b.eGPOutCfg = AM_HAL_GPIO_PIN_OUTCFG_PUSHPULL; in ambiq_gpio_pin_configure()
112 pincfg.GP.cfg_b.eCEpol = AM_HAL_GPIO_PIN_CEPOL_ACTIVEHIGH; in ambiq_gpio_pin_configure()
116 pincfg.GP.cfg_b.eCEpol = AM_HAL_GPIO_PIN_CEPOL_ACTIVELOW; in ambiq_gpio_pin_configure()
172 if (pincfg.GP.cfg_b.eGPOutCfg == AM_HAL_GPIO_PIN_OUTCFG_DISABLE && in ambiq_gpio_get_config()
173 pincfg.GP.cfg_b.eGPInput == AM_HAL_GPIO_PIN_INPUT_NONE) { in ambiq_gpio_get_config()
[all …]
/Zephyr-latest/drivers/sdhc/
Dsdhc_spi.c103 struct spi_config cfg_b; member
708 memcpy(&data->cfg_b, &data->cfg_a, in sdhc_spi_set_io()
710 data->spi_cfg = &data->cfg_b; in sdhc_spi_set_io()
712 data->cfg_b.frequency = ios->clock; in sdhc_spi_set_io()
713 memcpy(&data->cfg_a, &data->cfg_b, in sdhc_spi_set_io()