MAX78000 RISC-V (CPU1) interrupt backend.
More...
#include <errno.h>
#include "maxim_irq_priv.h"
MAX78000 RISC-V (CPU1) interrupt backend.
- Author
- Victor Pascu (victo.nosp@m.r.pa.nosp@m.scu@a.nosp@m.nalo.nosp@m.g.com)
Copyright 2026(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ max_irq_disable()
Disable a specific interrupt.
- Parameters
-
| desc | - Interrupt controller descriptor. |
| irq_id | - The interrupt vector entry id of the peripheral. |
- Returns
- 0 in case of success, errno error codes otherwise.
◆ max_irq_enable()
Enable a specific interrupt.
- Parameters
-
| desc | - Interrupt controller descriptor. |
| irq_id | - The interrupt vector entry id of the peripheral. |
- Returns
- 0 in case of success, errno error codes otherwise.
◆ max_irq_global_disable()
Disable all interrupts.
- Parameters
-
| desc | - Interrupt controller descriptor. |
- Returns
- 0
◆ max_irq_global_enable()
Enable all interrupts.
- Parameters
-
| desc | - Interrupt controller descriptor. |
- Returns
- 0
◆ max_irq_set_priority()
| int max_irq_set_priority |
( |
struct no_os_irq_ctrl_desc * | desc, |
|
|
uint32_t | irq_id, |
|
|
uint32_t | priority_level ) |
Set the priority of an interrupt (not supported on CPU1)
Set a priority level for an interrupt.
- Parameters
-
| desc | - Interrupt controller descriptor. |
| irq_id | - The interrupt vector entry id of the peripheral. |
| priority_level | - The interrupt priority level. |
- Returns
- -EINVAL for an invalid irq_id, -ENOTSUP otherwise.