Home
last modified time | relevance | path

Searched refs:GPIO_CHECK (Results 1 – 2 of 2) sorted by relevance

/device/soc/esp/esp32/components/driver/
Dgpio.c33 #define GPIO_CHECK(a, str, ret_val) \ macro
82 GPIO_CHECK(GPIO_IS_VALID_GPIO(gpio_num), "GPIO number error", ESP_ERR_INVALID_ARG); in gpio_pullup_en()
101 GPIO_CHECK(GPIO_IS_VALID_GPIO(gpio_num), "GPIO number error", ESP_ERR_INVALID_ARG); in gpio_pullup_dis()
120 GPIO_CHECK(GPIO_IS_VALID_GPIO(gpio_num), "GPIO number error", ESP_ERR_INVALID_ARG); in gpio_pulldown_en()
139 GPIO_CHECK(GPIO_IS_VALID_GPIO(gpio_num), "GPIO number error", ESP_ERR_INVALID_ARG); in gpio_pulldown_dis()
158 GPIO_CHECK(GPIO_IS_VALID_GPIO(gpio_num), "GPIO number error", ESP_ERR_INVALID_ARG); in gpio_set_intr_type()
159 GPIO_CHECK(intr_type < GPIO_INTR_MAX, "GPIO interrupt type error", ESP_ERR_INVALID_ARG); in gpio_set_intr_type()
169 GPIO_CHECK(GPIO_IS_VALID_GPIO(gpio_num), "GPIO number error", ESP_ERR_INVALID_ARG); in gpio_intr_enable_on_core()
176 GPIO_CHECK(GPIO_IS_VALID_GPIO(gpio_num), "GPIO number error", ESP_ERR_INVALID_ARG); in gpio_intr_enable()
187 GPIO_CHECK(GPIO_IS_VALID_GPIO(gpio_num), "GPIO number error", ESP_ERR_INVALID_ARG); in gpio_intr_disable()
[all …]
/device/soc/beken/bk7235/hals/iot_hardware/wifiiot_lite/
Dhal_iot_gpio.c27 #define GPIO_CHECK(gpio) do { if ((gpio) >= GPIONUM) return IOT_FAILURE; } while(0) macro
31 GPIO_CHECK(id); in IoTGpioInit()
49 GPIO_CHECK(id); in IoTGpioDeinit()
71 GPIO_CHECK(id); in IoTGpioSetDir()
97 GPIO_CHECK(id); in IoTGpioGetDir()
111 GPIO_CHECK(id); in IoTGpioSetOutputVal()
123 GPIO_CHECK(id); in IoTGpioGetOutputVal()
138 GPIO_CHECK(id); in IoTGpioGetInputVal()
187 GPIO_CHECK(id); in IoTGpioRegisterIsrFunc()
201 GPIO_CHECK(id); in IoTGpioUnregisterIsrFunc()
[all …]