mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'refactor/move_isr_core_id_enum_to_g1' into 'master'
esp_hw_support: move driver/intr_types.h to esp_hw_support to make it available to all g1+ components See merge request espressif/esp-idf!22182
This commit is contained in:
commit
76989b504a
@ -11,7 +11,7 @@
|
||||
#include "sdkconfig.h"
|
||||
#include "esp_err.h"
|
||||
#include "esp_ipc.h"
|
||||
#include "driver/intr_types.h"
|
||||
#include "intr_types.h"
|
||||
#include "hal/spi_types.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -9,9 +9,13 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
///< Selecting the ISR to be registered on which core
|
||||
/**
|
||||
* @brief Interrupt core ID type
|
||||
*
|
||||
* This type represents on which core your ISR is registered
|
||||
*/
|
||||
typedef enum {
|
||||
INTR_CPU_ID_AUTO, ///< Register intr ISR to core automatically select by FreeRTOS.
|
||||
INTR_CPU_ID_AUTO, ///< Register intr ISR to core automatically, this means the core on which you call `esp_intr_alloc`
|
||||
INTR_CPU_ID_0, ///< Register intr ISR to core 0.
|
||||
INTR_CPU_ID_1, ///< Register intr ISR to core 1.
|
||||
} intr_cpu_id_t;
|
Loading…
x
Reference in New Issue
Block a user