Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
 4.1.99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
intc_rz_ext_irq.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024-2025 Renesas Electronics Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_RZ_EXT_IRQ_H_
8#define ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_RZ_EXT_IRQ_H_
9
10#define RZ_EXT_IRQ_TRIG_FALLING 0
11#define RZ_EXT_IRQ_TRIG_RISING 1
12#define RZ_EXT_IRQ_TRIG_BOTH_EDGE 2
13#define RZ_EXT_IRQ_TRIG_LEVEL_LOW 3
14
16typedef void (*intc_rz_ext_irq_callback_t)(void *arg);
17
24int intc_rz_ext_irq_enable(const struct device *dev);
25
32int intc_rz_ext_irq_disable(const struct device *dev);
33
43 void *arg);
44
52int intc_rz_ext_irq_set_type(const struct device *dev, uint8_t trig);
53
54#endif /* ZEPHYR_DRIVERS_INTERRUPT_CONTROLLER_INTC_RZ_EXT_IRQ_H_ */
int intc_rz_ext_irq_enable(const struct device *dev)
Enable external interrupt for specified channel.
void(* intc_rz_ext_irq_callback_t)(void *arg)
RZ external interrupt callback.
Definition intc_rz_ext_irq.h:16
int intc_rz_ext_irq_set_type(const struct device *dev, uint8_t trig)
Change trigger external interrupt type for specified channel.
int intc_rz_ext_irq_disable(const struct device *dev)
Disable external interrupt for specified channel.
int intc_rz_ext_irq_set_callback(const struct device *dev, intc_rz_ext_irq_callback_t cb, void *arg)
Updates the user callback.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Runtime device structure (in ROM) per driver instance.
Definition device.h:504