# drivers/gpio/gpio_irq_handler.c File Reference

GPIO irq handler. More...

`#include <debug.h>`
`#include <util.h>`
`#include <slist.h>`
`#include <interrupt.h>`
`#include <chip/portmux.h>`
`#include <gpio/gpio_irq_handler.h>`
`#include <chip/gpio_irq_group.h>`

Include dependency graph for gpio_irq_handler.c:

Go to the source code of this file.

## Data Structures
struct | gpio_irq_group
| GPIO irq handler structure. More...
## Functions
void | gpio_priv_irq_group_interrupt (void *data)
| GPIO group interrupt handler.
void | gpio_register_irq_handler (struct gpio_irq_handler *irqh)
| Register GPIO irq handler.

## Detailed Description

GPIO irq handler.

- Compiler: IAR EWAVR32 and GNU GCC for AVR32
- Supported devices: All AVR32 devices with a GPIO module
- AppNote:

Author:
  Atmel Corporation: http://www.atmel.com
  Support and FAQ: http://support.atmel.no/

Definition in file gpio_irq_handler.c.

## Function Documentation

void gpio_priv_irq_group_interrupt | ( | void * | data | ) |

GPIO group interrupt handler.

Definition at line 56 of file gpio_irq_handler.c.

References gpio_irq_handler::data, gpio_clear_int_flag(), gpio_int_is_pending(), gpio_irq_handler::handler, gpio_irq_group::handler_list, gpio_irq_handler::node, gpio_irq_handler::pin, and slist_for_each.

Here is the call graph for this function:

void gpio_register_irq_handler | ( | struct gpio_irq_handler * | irqh | ) |

Register GPIO irq handler.

Parameters:

  | irqh | handler to register

Definition at line 79 of file gpio_irq_handler.c.

References cpu_irq_restore(), cpu_irq_save(), gpio_irq_group_pin2index(), gpio_irq_group::handler_list, gpio_irq_handler::node, gpio_irq_handler::pin, and slist_insert_tail().

Referenced by sdmmc_cd_init().

Here is the call graph for this function: