12#ifndef ZEPHYR_INCLUDE_DRIVERS_RISCV_PLIC_H_
13#define ZEPHYR_INCLUDE_DRIVERS_RISCV_PLIC_H_
unsigned int riscv_plic_get_irq(void)
Get active interrupt ID.
void riscv_plic_irq_disable(uint32_t irq)
Disable interrupt.
const struct device * riscv_plic_get_dev(void)
Get active interrupt controller device.
void riscv_plic_irq_enable(uint32_t irq)
Enable interrupt.
int riscv_plic_irq_is_enabled(uint32_t irq)
Check if an interrupt is enabled.
void riscv_plic_set_priority(uint32_t irq, uint32_t prio)
Set interrupt priority.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Runtime device structure (in ROM) per driver instance.
Definition device.h:403