Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

Interrupt Management
[Device Driver API.]

Interrupt registration and handling. More...

Data Structures

struct  IRQ_HANDLER

Functions

 SIG_INTERRUPT0 (void)
 External interrupt 0 entry.

 SIG_INTERRUPT1 (void)
 External interrupt 1 entry.

 SIG_INTERRUPT2 (void)
 External interrupt 2 entry.

 SIG_INTERRUPT3 (void)
 External interrupt 3 entry.

 SIG_INTERRUPT5 (void)
 External interrupt 5 entry.

 SIG_INTERRUPT6 (void)
 External interrupt 6 entry.

 SIG_INTERRUPT7 (void)
 External interrupt 7 entry.

 SIG_OUTPUT_COMPARE2 (void)
 Timer 2 output compare interrupt entry.

 SIG_INPUT_CAPTURE1 (void)
 Timer 1 input capture interrupt entry.

 SIG_OUTPUT_COMPARE1A (void)
 Timer 1A output compare interrupt entry.

 SIG_OUTPUT_COMPARE1B (void)
 Timer 1B output compare interrupt entry.

 SIG_OVERFLOW1 (void)
 Timer 1 overflow interrupt entry.

 SIG_OUTPUT_COMPARE0 (void)
 Timer 0 output compare interrupt entry.

 SIG_OVERFLOW0 (void)
 Timer 0 overflow interrupt entry.

 SIG_SPI (void)
 SPI interrupt entry.

 SIG_UART_TRANS (void)
 Uart0 transmit complete interrupt entry.

 SIG_UART_DATA (void)
 Uart0 data register empty interrupt entry.

 SIG_UART_RECV (void)
 Uart0 receive complete interrupt entry.

 SIG_ADC (void)
 ADC conversion complete interrupt entry.

 SIG_EEPROM (void)
 EEPROM ready interrupt entry.

 SIG_COMPARATOR (void)
 Analog comparator interrupt entry.

__BEGIN_DECLS int NutRegisterInterrupt (int irq, void(*handler)(void *), void *arg)
 Register an interrupt handler.


Detailed Description

Interrupt registration and handling.


Function Documentation

__BEGIN_DECLS int NutRegisterInterrupt int    irq,
void(*    handler)(void *),
void *    arg
 

Register an interrupt handler.

This function is typically called by device drivers.

Parameters:
irq Interrupt number to be associated with this handler.
handler This routine will be called by Nut/OS, when the specified interrupt occurs.
arg Argument to be passed to the interrupt handler.
Returns:
0 on success, -1 otherwise.

SIG_INTERRUPT0 void   
 

External interrupt 0 entry.


© 2000-2003 by egnite Software GmbH - visit http://www.ethernut.de/