Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
riscv_clic.h File Reference

Driver for Core-Local Interrupt Controller (CLIC) More...

Go to the source code of this file.

Functions

void riscv_clic_irq_enable (uint32_t irq)
 Enable interrupt.
 
void riscv_clic_irq_disable (uint32_t irq)
 Disable interrupt.
 
int riscv_clic_irq_is_enabled (uint32_t irq)
 Check if an interrupt is enabled.
 
void riscv_clic_irq_priority_set (uint32_t irq, uint32_t prio, uint32_t flags)
 Set interrupt priority.
 
void riscv_clic_irq_vector_set (uint32_t irq)
 Set vector mode of interrupt.
 

Detailed Description

Driver for Core-Local Interrupt Controller (CLIC)

Function Documentation

◆ riscv_clic_irq_disable()

void riscv_clic_irq_disable ( uint32_t irq)

Disable interrupt.

Parameters
irqinterrupt ID

◆ riscv_clic_irq_enable()

void riscv_clic_irq_enable ( uint32_t irq)

Enable interrupt.

Parameters
irqinterrupt ID

◆ riscv_clic_irq_is_enabled()

int riscv_clic_irq_is_enabled ( uint32_t irq)

Check if an interrupt is enabled.

Parameters
irqinterrupt ID
Returns
Returns true if interrupt is enabled, false otherwise

◆ riscv_clic_irq_priority_set()

void riscv_clic_irq_priority_set ( uint32_t irq,
uint32_t prio,
uint32_t flags )

Set interrupt priority.

Parameters
irqinterrupt ID
priointerrupt priority
flagsinterrupt flags

◆ riscv_clic_irq_vector_set()

void riscv_clic_irq_vector_set ( uint32_t irq)

Set vector mode of interrupt.

Parameters
irqinterrupt ID