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

Interrupt Management
[Device Driver API.]

Collaboration diagram for Interrupt Management:


Detailed Description

Interrupt registration and handling.


Data Structures

struct  IRQ_HANDLER

Defines

#define NUT_IRQCTL_INIT   0
#define NUT_IRQCTL_CLEAR   1
#define NUT_IRQCTL_STATUS   16
#define NUT_IRQCTL_ENABLE   17
#define NUT_IRQCTL_DISABLE   18
#define NUT_IRQCTL_GETMODE   24
#define NUT_IRQCTL_SETMODE   25
#define NUT_IRQCTL_GETPRIO   32
#define NUT_IRQCTL_SETPRIO   33
#define NUT_IRQCTL_GETCOUNT   96
#define NUT_IRQCTL_SETCOUNT   97
#define NUT_IRQMODE_LOWLEVEL   1
#define NUT_IRQMODE_HIGHLEVEL   2
#define NUT_IRQMODE_FALLINGEDGE   5
#define NUT_IRQMODE_RISINGEDGE   6
#define NUT_IRQMODE_EDGE   7

Functions

void SIG_ADC (void)
 ADC conversion complete interrupt entry.
void SIG_COMPARATOR (void)
 Analog comparator interrupt entry.
void SIG_EEPROM (void)
 EEPROM ready interrupt entry.
void SIG_INTERRUPT0 (void)
 External interrupt 0 entry.
void SIG_INTERRUPT1 (void)
 External interrupt 1 entry.
void SIG_INTERRUPT2 (void)
 External interrupt 2 entry.
void SIG_INTERRUPT3 (void)
 External interrupt 3 entry.
void SIG_INTERRUPT5 (void)
 External interrupt 5 entry.
void SIG_INTERRUPT6 (void)
 External interrupt 6 entry.
void SIG_INTERRUPT7 (void)
 External interrupt 7 entry.
void SIG_SPI (void)
 SPI interrupt entry.
void SIG_OUTPUT_COMPARE0 (void)
 Timer 0 output compare interrupt entry.
void SIG_OVERFLOW0 (void)
 Timer 0 overflow interrupt entry.
void SIG_INPUT_CAPTURE1 (void)
 Timer 1 input capture interrupt entry.
void SIG_OUTPUT_COMPARE1A (void)
 Timer 1A output compare interrupt entry.
void SIG_OUTPUT_COMPARE1B (void)
 Timer 1B output compare interrupt entry.
void SIG_OVERFLOW1 (void)
 Timer 1 overflow interrupt entry.
void SIG_OUTPUT_COMPARE2 (void)
 Timer 2 output compare interrupt entry.
void SIG_UART_RECV (void)
 Uart0 receive complete interrupt entry.
void SIG_UART_TRANS (void)
 Uart0 transmit complete interrupt entry.
void SIG_UART_DATA (void)
 Uart0 data register empty interrupt entry.

Variables

IRQ_HANDLER sig_ADC
IRQ_HANDLER sig_COMPARATOR
IRQ_HANDLER sig_EEPROM_READY
IRQ_HANDLER sig_INTERRUPT0
IRQ_HANDLER sig_INTERRUPT1
IRQ_HANDLER sig_INTERRUPT2
IRQ_HANDLER sig_INTERRUPT3
IRQ_HANDLER sig_INTERRUPT4
IRQ_HANDLER sig_INTERRUPT5
IRQ_HANDLER sig_INTERRUPT6
IRQ_HANDLER sig_INTERRUPT7
IRQ_HANDLER sig_SPI
IRQ_HANDLER sig_OUTPUT_COMPARE0
IRQ_HANDLER sig_OVERFLOW0
IRQ_HANDLER sig_INPUT_CAPTURE1
IRQ_HANDLER sig_OUTPUT_COMPARE1A
IRQ_HANDLER sig_OUTPUT_COMPARE1B
IRQ_HANDLER sig_OVERFLOW1
IRQ_HANDLER sig_OUTPUT_COMPARE2
IRQ_HANDLER sig_OVERFLOW2
IRQ_HANDLER sig_UART0_RECV
IRQ_HANDLER sig_UART0_TRANS
IRQ_HANDLER sig_UART0_DATA


Variable Documentation

IRQ_HANDLER sig_ADC
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrAdcIrqCtl                
}

IRQ_HANDLER sig_COMPARATOR
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrAnalogCompIrqCtl         
}

IRQ_HANDLER sig_EEPROM_READY
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrEepromRdyIrqCtl          
}

IRQ_HANDLER sig_INTERRUPT0
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrInterrupt0Ctl            
}

IRQ_HANDLER sig_INTERRUPT1
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrInterrupt1Ctl            
}

IRQ_HANDLER sig_INTERRUPT2
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrInterrupt2Ctl            
}

IRQ_HANDLER sig_INTERRUPT3
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrInterrupt3Ctl            
}

IRQ_HANDLER sig_INTERRUPT4
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrInterrupt4Ctl            
}

IRQ_HANDLER sig_INTERRUPT5
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrInterrupt5Ctl            
}

IRQ_HANDLER sig_INTERRUPT6
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrInterrupt6Ctl            
}

IRQ_HANDLER sig_INTERRUPT7
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrInterrupt7Ctl            
}

IRQ_HANDLER sig_SPI
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrSpiIrqCtl                
}

IRQ_HANDLER sig_OUTPUT_COMPARE0
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrTimer0CompIrqCtl         
}

IRQ_HANDLER sig_OVERFLOW0
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrTimer0OvfIrqCtl          
}

IRQ_HANDLER sig_INPUT_CAPTURE1
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrTimer1CaptIrqCtl         
}

IRQ_HANDLER sig_OUTPUT_COMPARE1A
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrTimer1CompAIrqCtl        
}

IRQ_HANDLER sig_OUTPUT_COMPARE1B
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrTimer1CompBIrqCtl        
}

IRQ_HANDLER sig_OVERFLOW1
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrTimer1OvfIrqCtl          
}

IRQ_HANDLER sig_OUTPUT_COMPARE2
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrTimer2CompIrqCtl         
}

IRQ_HANDLER sig_OVERFLOW2
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrTimer2OvfIrqCtl          
}

IRQ_HANDLER sig_UART0_RECV
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrUart0RxIrqCtl            
}

IRQ_HANDLER sig_UART0_TRANS
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrUart0TxIrqCtl            
}

IRQ_HANDLER sig_UART0_DATA
 

Initial value:

 {



    NULL,                       
    NULL,                       
    AvrUart0TxDataIrqCtl        
}


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