Home
last modified time | relevance | path

Searched refs:pull_mode (Results 1 – 6 of 6) sorted by relevance

/device/board/openvalley/niobeu4/liteos_m/hdf_drivers/gpio/
Dgpio_esp32u4.c32 char *pull_mode; member
38 int pull_mode; member
57 …all_gpio_config[g_pin_nums].pull_mode = GetPullModeFromStr(cur_gpio_attr.pull_mode); …
61 …HDF_LOGI("pull_mode = %s[%d]", cur_gpio_attr.pull_mode, all_gpio_config[g_pin_nums].pull_mode); …
65 …_pull_mode(all_gpio_config[g_pin_nums].pin_index, all_gpio_config[g_pin_nums].pull_mode); \
/device/board/beken/bk7235x/hdf/src/
Dbk_gpio_driver.c139 cfg.pull_mode = GPIO_PULL_DOWN_EN; in GpioDevSetIrq()
142 cfg.pull_mode = GPIO_PULL_UP_EN; in GpioDevSetIrq()
145 cfg.pull_mode = GPIO_PULL_DOWN_EN; in GpioDevSetIrq()
148 cfg.pull_mode = GPIO_PULL_UP_EN; in GpioDevSetIrq()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/bk7235/hal/
Dgpio_ll.h69 uint32 pull_mode = 0; in gpio_ll_set_pull_mode() local
71 switch (config->pull_mode) { in gpio_ll_set_pull_mode()
73 pull_mode = 0; in gpio_ll_set_pull_mode()
77 pull_mode = 2; in gpio_ll_set_pull_mode()
81 pull_mode = 3; in gpio_ll_set_pull_mode()
88 REG_SET_BITS(&hw->gpio_num[index], GPIO_F_PULL_SET(pull_mode), GPIO_F_PULL_EN_M) ; in gpio_ll_set_pull_mode()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/include/driver/hal/
Dhal_gpio_types.h120 gpio_pull_mode_t pull_mode; /**< set gpio pull mode */ member
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/gpio/
Dgpio_driver_base.c239 GPIO_RETURN_ON_INVALID_PULL_MODE(config->pull_mode); in bk_gpio_set_config()
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/driver/sdcard/
Dsdcard.c159 gpio_config.pull_mode = GPIO_PULL_UP_EN; in sdcard_check_inserted()
181 gpio_config.pull_mode = GPIO_PULL_UP_EN; in sdcard_check_inserted()