Subversion Repositories HomeAutomation

Rev

Rev 2233 | Rev 2237 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed

Rev 2233 Rev 2236
Line 139... Line 139...
139
#define IR_TIME_OVFL        3
139
#define IR_TIME_OVFL        3
140
#define IR_NO_DATA          4
140
#define IR_NO_DATA      4
141
#define IR_NOT_CORRECT_DATA 5
141
#define IR_NOT_CORRECT_DATA     5
142
#define IR_TO_MUCH_DATA     6
142
#define IR_TO_MUCH_DATA     6
143
#define IR_NOT_FINISHED     7
143
#define IR_NOT_FINISHED     7
144
 
-
 
-
 
144
#define IR_SEND_DEBUG       8
145
#define IR_BUTTON_DOWN      0x0
145
#define IR_BUTTON_DOWN      0x0
146
#define IR_BUTTON_UP        0xf
146
#define IR_BUTTON_UP        0xf
147
 
147
 
148
// defined for the module, uses same definitions for pressed and released as other buttons
148
// defined for the module, uses same definitions for pressed and released as other buttons
149
#define IR_BUTTON_RELEASED  0x0
149
#define IR_BUTTON_RELEASED  0x0
Line 347... Line 347...
347
#define IR_VIKING_STEAK_LOW_ZERO    (1700*CYCLES_PER_US/TIMER_PRESC)    //us
347
#define IR_VIKING_STEAK_LOW_ZERO    (1700*CYCLES_PER_US/TIMER_PRESC)    //us
348
#define IR_VIKING_STEAK_LOW_START   (7800*CYCLES_PER_US/TIMER_PRESC)        //us
348
#define IR_VIKING_STEAK_LOW_START   (7800*CYCLES_PER_US/TIMER_PRESC)        //us
349
#define IR_VIKING_STEAK_TIMEOUT (0)                                 //ms BURST! (time between ir frames)
349
#define IR_VIKING_STEAK_TIMEOUT (0)                                 //ms BURST! (time between ir frames)
350
#define IR_VIKING_STEAK_REPS        (1)                                 //      (minimum number of times to repeat code)
350
#define IR_VIKING_STEAK_REPS        (1)                                 //      (minimum number of times to repeat code)
351
#define IR_VIKING_STEAK_F_MOD       (38)                                //kHz   (modulation frequency)
351
#define IR_VIKING_STEAK_F_MOD       (38)                                //kHz   (modulation frequency)
352
#define IR_VIKING_STEAK_TOL_DIV (2)
352
#define IR_VIKING_STEAK_TOL_DIV (4)
353
 
353
 
354
#define IR_PROTO_HASH       0xfe
354
#define IR_PROTO_HASH       0xfe
355
#define IR_PROTO_UNKNOWN    0xff                                //
355
#define IR_PROTO_UNKNOWN    0xff                                //
356
 
356
 
357
 
357