Code: Select all
static void IRAM_ATTR InputScan_ISR( void *aPtr )
{
/// ...
int b = gpio_get_level( 0 );
/// ...
}
I notice that the library function has its prototype:
Code: Select all
int gpio_get_level(gpio_num_t gpio_num);
Do you know any place that explains how to better use the IRAM_ATTR ?