Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/examples/cxx/experimental/experimental_cpp_component/
Dgpio_cxx.cpp15 #define GPIO_CHECK_THROW(err) CHECK_THROW_SPECIFIC((err), GPIOException) macro
118 GPIO_CHECK_THROW(gpio_reset_pin(gpio_to_driver_type(gpio_num))); in GPIOBase()
123 GPIO_CHECK_THROW(gpio_hold_en(gpio_to_driver_type(gpio_num))); in hold_en()
128 GPIO_CHECK_THROW(gpio_hold_dis(gpio_to_driver_type(gpio_num))); in hold_dis()
133 GPIO_CHECK_THROW(gpio_set_drive_capability(gpio_to_driver_type(gpio_num), in set_drive_strength()
139 GPIO_CHECK_THROW(gpio_set_direction(gpio_to_driver_type(gpio_num), GPIO_MODE_OUTPUT)); in GPIO_Output()
144 GPIO_CHECK_THROW(gpio_set_level(gpio_to_driver_type(gpio_num), 1)); in set_high()
149 GPIO_CHECK_THROW(gpio_set_level(gpio_to_driver_type(gpio_num), 0)); in set_low()
155 GPIO_CHECK_THROW(gpio_get_drive_capability(gpio_to_driver_type(gpio_num), &strength)); in get_drive_strength()
161 GPIO_CHECK_THROW(gpio_set_direction(gpio_to_driver_type(gpio_num), GPIO_MODE_INPUT)); in GPIOInput()
[all …]