Module esp32c3_hal::interrupt

source ·
Expand description

Interrupt handling - RISCV

When the vectored feature is enabled, CPU interrupts 1 through 15 are reserved for each of the possible interrupt priorities.

interrupt1() => Priority::Priority1
interrupt2() => Priority::Priority2
...
interrupt15() => Priority::Priority15

Structs

Enums

  • Enumeration of available CPU interrupts. It is possible to create a handler for each of the interrupts. (e.g. interrupt3)
  • Interrupt Error
  • Interrupt kind
  • Interrupt priority levels.

Functions

  • Clear a CPU interrupt
  • Disable the given peripheral interrupt.
  • Enables a interrupt at a given priority
  • Enable a CPU interrupt
  • Get status of peripheral interrupts
  • map
    Assign a peripheral interrupt to an CPU interrupt.
  • Set the interrupt kind (i.e. level or edge) of an CPU interrupt
  • Set the priority level of an CPU interrupt