Zephyr API Documentation 4.1.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
intc_rz_ext_irq.h File Reference

Go to the source code of this file.

Typedefs

typedef void(* intc_rz_ext_irq_callback_t) (void *arg)
 RZ external interrupt callback.
 

Functions

int intc_rz_ext_irq_enable (const struct device *dev)
 Enable external interrupt for specified channel at NVIC.
 
int intc_rz_ext_irq_disable (const struct device *dev)
 Disable external interrupt for specified channel at NVIC.
 
int intc_rz_ext_irq_set_callback (const struct device *dev, intc_rz_ext_irq_callback_t cb, void *arg)
 Updates the user callback.
 

Typedef Documentation

◆ intc_rz_ext_irq_callback_t

typedef void(* intc_rz_ext_irq_callback_t) (void *arg)

RZ external interrupt callback.

Function Documentation

◆ intc_rz_ext_irq_disable()

int intc_rz_ext_irq_disable ( const struct device * dev)

Disable external interrupt for specified channel at NVIC.

Parameters
devpointer to interrupt controller instance
Returns
0 on success, or negative value on error

◆ intc_rz_ext_irq_enable()

int intc_rz_ext_irq_enable ( const struct device * dev)

Enable external interrupt for specified channel at NVIC.

Parameters
devpointer to interrupt controller instance
Returns
0 on success, or negative value on error

◆ intc_rz_ext_irq_set_callback()

int intc_rz_ext_irq_set_callback ( const struct device * dev,
intc_rz_ext_irq_callback_t cb,
void * arg )

Updates the user callback.

Parameters
devpointer to interrupt controller instance
cbcallback to set
arguser data passed to callback
Returns
0 on success, or negative value on error