Searched refs:g_pin_nums (Results 1 – 1 of 1) sorted by relevance
43 int g_pin_nums = 0; // hcs文件中定义的pin个数 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…59 …HDF_LOGI("----- GPIO Index [%d] Config -----", g_pin_nums); …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); …[all …]