![]() |
SyterKit 0.4.0.x
SyterKit is a bare-metal framework
|
Interrupt control functions for RISC-V architecture. More...
#include "csr.h"

Go to the source code of this file.
Functions | |
| static void | riscv_interrupt_enable (void) |
| Enable interrupts in RISC-V mode. | |
| static void | riscv_interrupt_disable (void) |
| Disable interrupts in RISC-V mode. | |
Interrupt control functions for RISC-V architecture.
This header file provides functions for enabling and disabling interrupts on RISC-V architecture.
|
inlinestatic |
Disable interrupts in RISC-V mode.
This function disables machine interrupts by clearing the MIE bit in the Machine Status Register (mstatus).
|
inlinestatic |
Enable interrupts in RISC-V mode.
This function enables machine interrupts by setting the MIE bit in the Machine Status Register (mstatus).