Sapphire SoC DS Sapphire SoC UG Sapphire HP SoC DS Sapphire HP SoC UG RISC-V Embedded IDE UG Board Support Package
Loading...
Searching...
No Matches

Overview

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

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:

See also
irq.c

Topics

 API Functions
 Function definitions for IRQ driver.
 Data Structures
 Structs and Enums used by the driver.
 Default ISR Stubs
 Weak aliases for all PLIC interrupt sources.