Microchip® Advanced Software Framework

eic.c File Reference
#include <avr32/io.h>
#include "compiler.h"
#include "preprocessor.h"
#include "eic.h"

Functions

void eic_clear_interrupt_line (volatile avr32_eic_t *eic, uint32_t line_number)
 Clear the interrupt flag. Call this function once you've handled the interrupt. More...
 
void eic_clear_interrupt_lines (volatile avr32_eic_t *eic, uint32_t mask_lines)
 Clear the interrupt flag. Call this function once you've handled the interrupt. More...
 
void eic_disable_interrupt_line (volatile avr32_eic_t *eic, uint32_t line_number)
 Disable the interrupt feature of the EIC. More...
 
void eic_disable_interrupt_lines (volatile avr32_eic_t *eic, uint32_t mask_lines)
 Disable the interrupt feature of the EIC. More...
 
void eic_disable_interrupt_scan (volatile avr32_eic_t *eic)
 Disable the interrupt scan feature of the EIC. More...
 
void eic_disable_line (volatile avr32_eic_t *eic, uint32_t line_number)
 Disable the EIC driver. More...
 
void eic_disable_lines (volatile avr32_eic_t *eic, uint32_t mask_lines)
 Disable the EIC driver. More...
 
void eic_enable_interrupt_line (volatile avr32_eic_t *eic, uint32_t line_number)
 Enable the interrupt feature of the EIC. More...
 
void eic_enable_interrupt_lines (volatile avr32_eic_t *eic, uint32_t mask_lines)
 Enable the interrupt feature of the EIC. More...
 
void eic_enable_interrupt_scan (volatile avr32_eic_t *eic, uint32_t presc)
 Enable the interrupt scan feature of the EIC. More...
 
void eic_enable_line (volatile avr32_eic_t *eic, uint32_t line_number)
 Enable the EIC driver. More...
 
void eic_enable_lines (volatile avr32_eic_t *eic, uint32_t mask_lines)
 Enable the EIC driver. More...
 
uint32_t eic_get_interrupt_pad_scan (volatile avr32_eic_t *eic)
 Return scan pad number that causes interrupt. More...
 
void eic_init (volatile avr32_eic_t *eic, const eic_options_t *opt, uint32_t nb_lines)
 Init the EIC driver. More...
 
bool eic_is_interrupt_line_enabled (volatile avr32_eic_t *eic, uint32_t line_number)
 Tells whether an EIC interrupt line is enabled. More...
 
bool eic_is_interrupt_line_pending (volatile avr32_eic_t *eic, uint32_t line_number)
 Tells whether an EIC interrupt line is pending. More...
 
bool eic_is_line_enabled (volatile avr32_eic_t *eic, uint32_t line_number)
 Tells whether an EIC line is enabled. More...