Use of IRAM_ATTR and library functions
Posted: Sat Apr 11, 2020 9:33 am
If I create a IRAM_ATTR function,
will the inside functions be placed also in IRAM_ATTR ?
I notice that the library function has its prototype:
So are the library functions not placed in IRAM?
Do you know any place that explains how to better use the IRAM_ATTR ?
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 ?