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

Public interface for configuring interrupts. More...

Go to the source code of this file.

Functions

static void irq_enable_next_level (const struct device *dev, uint32_t irq)
 Enable an IRQ in the next level.
 
static void irq_disable_next_level (const struct device *dev, uint32_t irq)
 Disable an IRQ in the next level.
 
static unsigned int irq_is_enabled_next_level (const struct device *dev)
 Get IRQ enable state.
 
static void irq_set_priority_next_level (const struct device *dev, uint32_t irq, uint32_t prio, uint32_t flags)
 Set IRQ priority.
 
static unsigned int irq_line_is_enabled_next_level (const struct device *dev, unsigned int irq)
 Get IRQ line enable state.
 

Detailed Description

Public interface for configuring interrupts.

Function Documentation

◆ irq_disable_next_level()

static void irq_disable_next_level ( const struct device * dev,
uint32_t irq )
inlinestatic

Disable an IRQ in the next level.

This routine disables interrupts present in the interrupt controller.

Parameters
devPointer to the device structure for the driver instance.
irqIRQ to be disabled.

◆ irq_enable_next_level()

static void irq_enable_next_level ( const struct device * dev,
uint32_t irq )
inlinestatic

Enable an IRQ in the next level.

This routine enables interrupts present in the interrupt controller.

Parameters
devPointer to the device structure for the driver instance.
irqIRQ to be enabled.

◆ irq_is_enabled_next_level()

static unsigned int irq_is_enabled_next_level ( const struct device * dev)
inlinestatic

Get IRQ enable state.

This routine indicates if any interrupts are enabled in the interrupt controller.

Parameters
devPointer to the device structure for the driver instance.
Returns
interrupt enable state, true or false

◆ irq_line_is_enabled_next_level()

static unsigned int irq_line_is_enabled_next_level ( const struct device * dev,
unsigned int irq )
inlinestatic

Get IRQ line enable state.

Query if a particular IRQ line is enabled.

Parameters
devPointer to the device structure for the driver instance.
irqIRQ line to be queried.
Returns
interrupt enable state, true or false

◆ irq_set_priority_next_level()

static void irq_set_priority_next_level ( const struct device * dev,
uint32_t irq,
uint32_t prio,
uint32_t flags )
inlinestatic

Set IRQ priority.

This routine indicates if any interrupts are enabled in the interrupt controller.

Parameters
devPointer to the device structure for the driver instance.
irqIRQ to be disabled.
priopriority for irq in the interrupt controller.
flagscontroller specific flags.