Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dw_ace.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Intel Corporation
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6#ifndef ZEPHYR_INCLUDE_DRIVERS_DW_ACE_H
7#define ZEPHYR_INCLUDE_DRIVERS_DW_ACE_H
8
9#include <zephyr/device.h>
10
11typedef void (*irq_enable_t)(const struct device *dev, uint32_t irq);
12typedef void (*irq_disable_t)(const struct device *dev, uint32_t irq);
13typedef int (*irq_is_enabled_t)(const struct device *dev, unsigned int irq);
14typedef int (*irq_connect_dynamic_t)(const struct device *dev,
15 unsigned int irq, unsigned int priority,
16 void (*routine)(const void *parameter),
17 const void *parameter, uint32_t flags);
18
23#ifdef CONFIG_DYNAMIC_INTERRUPTS
24 irq_connect_dynamic_t intr_connect_dynamic;
25#endif
26};
27
28#endif /* ZEPHYR_INCLUDE_DRIVERS_DW_ACE_H */
void(* irq_disable_t)(const struct device *dev, uint32_t irq)
Definition dw_ace.h:12
int(* irq_connect_dynamic_t)(const struct device *dev, unsigned int irq, unsigned int priority, void(*routine)(const void *parameter), const void *parameter, uint32_t flags)
Definition dw_ace.h:14
void(* irq_enable_t)(const struct device *dev, uint32_t irq)
Definition dw_ace.h:11
int(* irq_is_enabled_t)(const struct device *dev, unsigned int irq)
Definition dw_ace.h:13
flags
Definition parser.h:96
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
Runtime device structure (in ROM) per driver instance.
Definition device.h:412
Definition dw_ace.h:19
irq_disable_t intr_disable
Definition dw_ace.h:21
irq_enable_t intr_enable
Definition dw_ace.h:20
irq_is_enabled_t intr_is_enabled
Definition dw_ace.h:22