Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

extint.h File Reference

Detailed Description

Definition in file extint.h.

#include "global.h"

Go to the source code of this file.


#define EXTINT0   0x00
 External Interrupt 0.
#define EXTINT1   0x01
 External Interrupt 1.
#define EXTINT2   0x02
 External Interrupt 2.
#define EXTINT3   0x03
 External Interrupt 3.
#define EXTINT4   0x04
 External Interrupt 4.
#define EXTINT5   0x05
 External Interrupt 5.
#define EXTINT6   0x06
 External Interrupt 6.
#define EXTINT7   0x07
 External Interrupt 7.
#define EXTINT_LEVEL_LOW   0x00
 Trigger on low level.
#define EXTINT_EDGE_ANY   0x01
 Trigger on any edge.
#define EXTINT_EDGE_FALLING   0x02
 Trigger on falling edge.
#define EXTINT_EDGE_RISING   0x03
 Trigger on rising edge.


void extintInit (void)
 initializes extint library
void extintConfigure (u08 interruptNum, u08 configuration)
 Configure external interrupt trigger.
void extintAttach (u08 interruptNum, void(*userHandler)(void))
 Attach a user function to an external interrupt.
void extintDetach (u08 interruptNum)
 Detach a user function from an external interrupt.

Generated on Sun Oct 29 03:41:08 2006 for Procyon AVRlib by  doxygen 1.4.2