Rev 923 | Rev 1320 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 923 | Rev 993 | ||
|---|---|---|---|
| Line 87... | Line 87... | ||
| 87 | #define IR_TO_MUCH_DATA 6 |
87 | #define IR_TO_MUCH_DATA 6 |
| 88 | #define IR_NOT_FINISHED 7 |
88 | #define IR_NOT_FINISHED 7 |
| 89 | 89 | ||
| 90 | #define IR_BUTTON_DOWN 0x0 |
90 | #define IR_BUTTON_DOWN 0x0 |
| 91 | #define IR_BUTTON_UP 0xf |
91 | #define IR_BUTTON_UP 0xf |
| - | 92 | ||
| - | 93 | // defined for the module, uses same definitions for pressed and released as other buttons |
|
| - | 94 | #define IR_BUTTON_RELEASED 0x0 |
|
| - | 95 | #define IR_BUTTON_PRESSED 0x1 |
|
| - | 96 | ||
| 92 | 97 | ||
| 93 | #define CYCLES_PER_US (F_CPU/1000000) |
98 | #define CYCLES_PER_US (F_CPU/1000000) |
| 94 | #define TIMER_PRESC 8 |
99 | #define TIMER_PRESC 8 |
| 95 | 100 | ||
| 96 | #define IR_MIN_PULSE_WIDTH 5 //us |
101 | #define IR_MIN_PULSE_WIDTH 5 //us |