RV32 SoC DS UG
High-Perf RV32 SoC DS UG
RV64 SoC DS UG API and Examples
Embedded IDE UG
Loading...
Searching...
No Matches
IRQ Controller Driver

Overview

RISC-V CSR Interrupt Management (MIE/MSTATUS).

Usage & Initialization.

Note
This module controls the processor's willingness to accept interrupts. It does not configure the external PLIC, but rather the CPU's internal gates for Software, Timer, and External (PLIC) interrupts.

To enable IRQ for external interrupt:

To enable IRQ for Timer interrupt:

To enable IRQ for Software interrupt:

To register a custom IRQ Handler:

Topics

 API Functions
 Function definitions for IRQ driver.
 Data Structures
 Structs and Enums used by the driver.