Searched refs:all_gpio_config (Results 1 – 1 of 1) sorted by relevance
48 struct GpioSourceValue all_gpio_config[GPIO_NUM_MAX]; // 单个GPIO配置,最大支持40个GPIO配置 variable56 …all_gpio_config[g_pin_nums].pin_index = GetPinIndexFromStr(cur_gpio_attr.pin_index); …57 …all_gpio_config[g_pin_nums].pull_mode = GetPullModeFromStr(cur_gpio_attr.pull_mode); …58 …all_gpio_config[g_pin_nums].drive_capability = GetDriveCapabilityFromStr(cur_gpio_attr.drive_capab…60 …HDF_LOGI("pin_index = %s[%d]", cur_gpio_attr.pin_index, all_gpio_config[g_pin_nums].pin_index); …61 …HDF_LOGI("pull_mode = %s[%d]", cur_gpio_attr.pull_mode, all_gpio_config[g_pin_nums].pull_mode); …63 … all_gpio_config[g_pin_nums].drive_capability); \64 …gpio_reset_pin(all_gpio_config[g_pin_nums].pin_index); …65 …gpio_set_pull_mode(all_gpio_config[g_pin_nums].pin_index, all_gpio_config[g_pin_nums].pull_mode); …66 …gpio_set_drive_capability(all_gpio_config[g_pin_nums].pin_index, …[all …]