libxr
1.0
Want to be the best embedded framework
Loading...
Searching...
No Matches
esp_gpio.cpp
1
#include "esp_gpio.hpp"
2
3
namespace
LibXR
{
4
5
void
IRAM_ATTR ESP32GPIO::InterruptDispatcher(
void
* arg)
6
{
7
auto
gpio_num =
static_cast<
gpio_num_t
>
(
reinterpret_cast<
uintptr_t
>
(arg));
8
auto
gpio = map_[gpio_num];
9
if
(gpio)
10
{
11
gpio->callback_.Run(
true
);
12
}
13
}
14
15
}
// namespace LibXR
LibXR
LibXR 命名空间
Definition
ch32_flash.hpp:12
driver
esp
esp_gpio.cpp
Generated by
1.12.0