Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
intc_rz_tint.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Renesas Electronics Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
19
21typedef void (*intc_rz_tint_callback_t)(void *arg);
22
31int intc_rz_tint_connect(const struct device *dev, uint8_t port, uint8_t pin);
32
40int intc_rz_tint_set_type(const struct device *dev, enum intc_rz_tint_trigger trig);
41
48int intc_rz_tint_enable(const struct device *dev);
49
56int intc_rz_tint_disable(const struct device *dev);
57
66int intc_rz_tint_set_callback(const struct device *dev, intc_rz_tint_callback_t cb, void *arg);
int intc_rz_tint_set_type(const struct device *dev, enum intc_rz_tint_trigger trig)
Change trigger interrupt type.
int intc_rz_tint_set_callback(const struct device *dev, intc_rz_tint_callback_t cb, void *arg)
Updates the user callback.
int intc_rz_tint_disable(const struct device *dev)
Disable TINT interrupt.
int intc_rz_tint_enable(const struct device *dev)
Enable TINT interrupt.
intc_rz_tint_trigger
Definition intc_rz_tint.h:7
@ RZ_TINT_HIGH_LEVEL
Interrupt triggered on high-level.
Definition intc_rz_tint.h:17
@ RZ_TINT_RISING_EDGE
Interrupt triggered on rising edge.
Definition intc_rz_tint.h:11
@ RZ_TINT_BOTH_EDGE
Interrupt triggered on both edges.
Definition intc_rz_tint.h:13
@ RZ_TINT_FAILING_EDGE
Interrupt triggered on falling edge.
Definition intc_rz_tint.h:9
@ RZ_TINT_LOW_LEVEL
Interrupt triggered on low-level.
Definition intc_rz_tint.h:15
void(* intc_rz_tint_callback_t)(void *arg)
RZ GPIO interrupt (TINT) callback.
Definition intc_rz_tint.h:21
int intc_rz_tint_connect(const struct device *dev, uint8_t port, uint8_t pin)
Connect a TINT channel to a specific GPIO pins.
__UINT8_TYPE__ uint8_t
Definition stdint.h:88
Runtime device structure (in ROM) per driver instance.
Definition device.h:513