RISC-V BSP includes macros to provide convenient access to various registers in the RISC-V processor.
Some of these macros are very useful within exception handlers for retrieving information about the exception. Also, the interrupt handling functions help manage interrupt handling on RISC-V processor devices.To use these functions, include the header file riscv_interface.h in your source code
| Type | Name | Arguments |
|---|---|---|
| void | riscv_enable_interrupts |
|
| void | riscv_disable_interrupts |
|
| void | riscv_register_handler |
|