idfxx 1.0.0
Modern C++23 components for ESP-IDF
Loading...
Searching...
No Matches
intr_alloc.hpp File Reference

Interrupt allocation flags. More...

#include <idfxx/flags>
#include <esp_intr_alloc.h>

Go to the source code of this file.

Namespaces

namespace  idfxx
 

Enumerations

enum class  idfxx::intr_flag : int {
  idfxx::none = 0 ,
  idfxx::level1 = 1u << 1 ,
  idfxx::level2 = 1u << 2 ,
  idfxx::level3 = 1u << 3 ,
  idfxx::level4 = 1u << 4 ,
  idfxx::level5 = 1u << 5 ,
  idfxx::level6 = 1u << 6 ,
  idfxx::nmi = 1u << 7 ,
  idfxx::shared = 1u << 8 ,
  idfxx::edge = 1u << 9 ,
  idfxx::iram = 1u << 10 ,
  idfxx::intr_disabled = 1u << 11
}
 Interrupt allocation flags. More...
 

Variables

constexpr flags< intr_flagidfxx::intr_flag_lowmed = intr_flag::level1 | intr_flag::level2 | intr_flag::level3
 Low and medium priority levels (1-3). These can be handled in C / C++.
 
constexpr flags< intr_flagidfxx::intr_flag_high
 High priority levels (4-6 and NMI). These require assembly handlers.
 
constexpr flags< intr_flagidfxx::intr_flag_levelmask = intr_flag_lowmed | intr_flag_high
 Mask of all interrupt level flags.
 

Detailed Description

Interrupt allocation flags.

Definition in file intr_alloc.hpp.