Interrupt registration and handling. More...
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_NONE 0 |
#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 |
#define | NUT_IRQMODE_LEVEL 8 |
#define | NUT_IRQMODE_BOTHEDGE 9 |
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_INTERRUPT4 (void) |
External interrupt 4 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_OVERFLOW2 (void) |
Timer 2 overflow 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 |
Interrupt registration and handling.
#define NUT_IRQCTL_INIT 0 |
Referenced by NplRegisterIrqHandler(), NutRegisterIrqHandler(), and NutRegisterSysIrqHandler().
#define NUT_IRQCTL_CLEAR 1 |
#define NUT_IRQCTL_STATUS 16 |
Referenced by GpioIrqStatus().
#define NUT_IRQCTL_ENABLE 17 |
Referenced by GpioIrqEnable(), NplIrqEnable(), NutIrqEnable(), and NutSysIrqEnable().
#define NUT_IRQCTL_DISABLE 18 |
Referenced by GpioIrqDisable(), NplIrqDisable(), and NutIrqDisable().
#define NUT_IRQCTL_GETMODE 24 |
Referenced by NutIrqSetMode().
#define NUT_IRQCTL_SETMODE 25 |
Referenced by GpioIrqSetMode(), and NutIrqSetMode().
#define NUT_IRQCTL_GETPRIO 32 |
Referenced by NutIrqSetPriority().
#define NUT_IRQCTL_SETPRIO 33 |
Referenced by NutIrqSetPriority().
#define NUT_IRQCTL_GETCOUNT 96 |
#define NUT_IRQCTL_SETCOUNT 97 |
#define NUT_IRQMODE_NONE 0 |
Referenced by NutIrqSetMode().
#define NUT_IRQMODE_LOWLEVEL 1 |
Referenced by NplRegisterIrqHandler().
#define NUT_IRQMODE_HIGHLEVEL 2 |
Referenced by NicRxLanc().
#define NUT_IRQMODE_FALLINGEDGE 5 |
Referenced by Sc16is752UsartInit().
#define NUT_IRQMODE_RISINGEDGE 6 |
Referenced by FeederThread(), NicRxLanc(), and VsPlayerInit().
#define NUT_IRQMODE_EDGE 7 |
#define NUT_IRQMODE_LEVEL 8 |
Referenced by NutRegisterTwiBus().
#define NUT_IRQMODE_BOTHEDGE 9 |
SIG_ADC | ( | void | ) |
ADC conversion complete interrupt entry.
SIG_COMPARATOR | ( | void | ) |
Analog comparator interrupt entry.
SIG_EEPROM | ( | void | ) |
EEPROM ready interrupt entry.
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_INTERRUPT4 | ( | void | ) |
External interrupt 4 entry.
Infrared decoder signal edge handler.
References _BV, cbi, inb, IR_SIGNAL_BIT, IR_SIGNAL_PIN, nut_ircode, nut_irqueue, NutEventPostFromIrq, and sbi.
SIG_INTERRUPT5 | ( | void | ) |
External interrupt 5 entry.
SIG_INTERRUPT6 | ( | void | ) |
External interrupt 6 entry.
SIG_INTERRUPT7 | ( | void | ) |
External interrupt 7 entry.
SIG_SPI | ( | void | ) |
SPI interrupt entry.
SIG_OUTPUT_COMPARE0 | ( | void | ) |
Timer 0 output compare interrupt entry.
SIG_OVERFLOW0 | ( | void | ) |
Timer 0 overflow 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_COMPARE2 | ( | void | ) |
Timer 2 output compare interrupt entry.
SIG_OVERFLOW2 | ( | void | ) |
Timer 2 overflow interrupt entry.
Timer 2 overflow handler.
References cbi, IRTIMER_START, and outb.
SIG_UART_RECV | ( | void | ) |
Uart0 receive complete interrupt entry.
SIG_UART_TRANS | ( | void | ) |
Uart0 transmit complete interrupt entry.
SIG_UART_DATA | ( | void | ) |
Uart0 data register empty interrupt entry.
* $Id: $ *
Referenced by GpioRegisterIrqHandler(), and NplRegisterIrqHandler().
Referenced by IDEInit(), and wlandrv_Init().
Referenced by AhdlcAvrInit(), and UartAvrInit().
Referenced by UartAvrInit().
Referenced by AhdlcAvrInit().