Go to the source code of this file.
◆ intc_rz_tint_callback_t
| typedef void(* intc_rz_tint_callback_t) (void *arg) |
RZ GPIO interrupt (TINT) callback.
◆ intc_rz_tint_trigger
| Enumerator |
|---|
| RZ_TINT_FAILING_EDGE | Interrupt triggered on falling edge.
|
| RZ_TINT_RISING_EDGE | Interrupt triggered on rising edge.
|
| RZ_TINT_BOTH_EDGE | Interrupt triggered on both edges.
|
| RZ_TINT_LOW_LEVEL | Interrupt triggered on low-level.
|
| RZ_TINT_HIGH_LEVEL | Interrupt triggered on high-level.
|
◆ intc_rz_tint_connect()
Connect a TINT channel to a specific GPIO pins.
- Parameters
-
| dev | pointer to interrupt controller instance |
| port | GPIO port |
| pin | GPIO pin |
- Returns
- 0 on success, or negative value on error
◆ intc_rz_tint_disable()
| int intc_rz_tint_disable |
( |
const struct device * | dev | ) |
|
Disable TINT interrupt.
- Parameters
-
| dev | pointer to interrupt controller instance |
- Returns
- 0 on success, or negative value on error
◆ intc_rz_tint_enable()
| int intc_rz_tint_enable |
( |
const struct device * | dev | ) |
|
Enable TINT interrupt.
- Parameters
-
| dev | pointer to interrupt controller instance |
- Returns
- 0 on success, or negative value on error
◆ intc_rz_tint_set_callback()
Updates the user callback.
- Parameters
-
| dev | pointer to interrupt controller instance |
| cb | callback to set |
| arg | user data passed to callback |
- Returns
- 0 on success, or negative value on error
◆ intc_rz_tint_set_type()
Change trigger interrupt type.
- Parameters
-
| dev | pointer to interrupt controller instance |
| trig | trigger type to be changed |
- Returns
- 0 on success, or negative value on error