Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
Driver for Platform Level Interrupt Controller (PLIC) More...
#include <zephyr/device.h>
Go to the source code of this file.
Functions | |
void | riscv_plic_irq_enable (uint32_t irq) |
Enable interrupt. | |
void | riscv_plic_irq_disable (uint32_t irq) |
Disable 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. | |
unsigned int | riscv_plic_get_irq (void) |
Get active interrupt ID. | |
const struct device * | riscv_plic_get_dev (void) |
Get active interrupt controller device. | |
Driver for Platform Level Interrupt Controller (PLIC)
const struct device * riscv_plic_get_dev | ( | void | ) |
Get active interrupt controller device.
unsigned int riscv_plic_get_irq | ( | void | ) |
Get active interrupt ID.
void riscv_plic_irq_disable | ( | uint32_t | irq | ) |
Disable interrupt.
irq | Multi-level encoded interrupt ID |
void riscv_plic_irq_enable | ( | uint32_t | irq | ) |
Enable interrupt.
irq | Multi-level encoded interrupt ID |
int riscv_plic_irq_is_enabled | ( | uint32_t | irq | ) |
Check if an interrupt is enabled.
irq | Multi-level encoded interrupt ID |