Subversion Repositories HomeAutomation

Rev

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

Rev 1837 Rev 1871
Line 112... Line 112...
112
 
112
 
113
 
113
 
114
#define CYCLES_PER_US       (F_CPU/1000000UL)
114
#define CYCLES_PER_US       (F_CPU/1000000UL)
115
#define TIMER_PRESC         (8)
115
#define TIMER_PRESC         (8)
116
 
116
 
117
#define IR_MIN_PULSE_WIDTH  (5)                                 //us
117
#define IR_MIN_PULSE_WIDTH  (0)                                 //us, not used in driver
-
 
118
 
-
 
119
#ifndef IR_MIN_STARTPULSE_WIDTH
-
 
120
#define IR_MIN_STARTPULSE_WIDTH (0UL)                           //us, not used when set to 0
-
 
121
#endif
118
#ifndef IR_MAX_PULSE_WIDTH
122
#ifndef IR_MAX_PULSE_WIDTH
119
#define IR_MAX_PULSE_WIDTH  (12000UL)                           //us
123
#define IR_MAX_PULSE_WIDTH  (12000UL)                           //us
120
#endif
124
#endif
121
 
125
 
122
/* RC5 Implementation
126
/* RC5 Implementation