Infrared Remote Control. More...
Defines | |
| #define | IRTIMER_START 0xF0 |
| #define | IRTIMER_SCALE 0x01 |
Functions | |
| void | SIG_OVERFLOW2 (void) |
| Timer 2 overflow interrupt entry. | |
| void | SIG_INTERRUPT4 (void) |
| External interrupt 4 entry. | |
| int | NutIrInitSony (void) |
| Enable Sony infrared remote control. | |
Variables | |
| long | nut_ircode |
| Last valid infrared code received. | |
| HANDLE | nut_irqueue |
| Queue of threads waiting for infrared input. | |
Infrared Remote Control.
| #define IRTIMER_START 0xF0 |
Referenced by NutIrInitSony(), and SIG_OVERFLOW2().
| #define IRTIMER_SCALE 0x01 |
Referenced by NutIrInitSony().
| void SIG_OVERFLOW2 | ( | void | ) |
Timer 2 overflow interrupt entry.
Timer 2 overflow handler.
References cbi, IRTIMER_START, and outb.
| void 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.
| int NutIrInitSony | ( | void | ) |
Enable Sony infrared remote control.
References cbi, EICR, IR_SIGNAL_BIT, IR_SIGNAL_DDR, IRTIMER_SCALE, IRTIMER_START, NutEnterCritical, NutExitCritical, outb, and sbi.
| long nut_ircode |
Last valid infrared code received.
Referenced by NutIrGet(), and SIG_INTERRUPT4().
Queue of threads waiting for infrared input.
Referenced by NutIrGet(), and SIG_INTERRUPT4().