Home
last modified time | relevance | path

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

/device/soc/esp/esp32/components/driver/
Ddedic_gpio.c42 #define DEDIC_CHECK(a, msg, tag, ret, ...) \ macro
103 DEDIC_CHECK(s_platform[core_id], "no mem for s_platform[%d]", err, ESP_ERR_NO_MEM, core_id); in dedic_gpio_build_platform()
167 DEDIC_CHECK(ret_code == ESP_OK, "alloc interrupt failed", err, ret_code); in dedic_gpio_install_interrupt()
208 DEDIC_CHECK(config && ret_bundle, "invalid argument", err, ESP_ERR_INVALID_ARG); in dedic_gpio_new_bundle()
209DEDIC_CHECK(config->gpio_array && config->array_size > 0, "invalid GPIO array or size", err, ESP_E… in dedic_gpio_new_bundle()
210DEDIC_CHECK(config->flags.in_en || config->flags.out_en, "no input/output mode specified", err, ES… in dedic_gpio_new_bundle()
212DEDIC_CHECK(dedic_gpio_build_platform(core_id) == ESP_OK, "build platform %d failed", err, ESP_FAI… in dedic_gpio_new_bundle()
216 DEDIC_CHECK(bundle, "no mem for bundle", err, ESP_ERR_NO_MEM); in dedic_gpio_new_bundle()
223DEDIC_CHECK(SOC_DEDIC_GPIO_OUT_CHANNELS_NUM >= config->array_size, "array size(%d) exceeds maximum… in dedic_gpio_new_bundle()
242DEDIC_CHECK(out_mask, "no free outward channels on core[%d]", err, ESP_ERR_NOT_FOUND, core_id); in dedic_gpio_new_bundle()
[all …]