Subversion Repositories HomeAutomation

Rev

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

Rev 1715 Rev 1716
Line 151... Line 151...
151
#define IR_RCMM_F_MOD       36                                  //kHz   (modulation frequency)
151
#define IR_RCMM_F_MOD       36                                  //kHz   (modulation frequency)
152
#define IR_RCMM_TOL_DIV     4
152
#define IR_RCMM_TOL_DIV     4
153
 
153
 
154
/* SIRC Implementation
154
/* SIRC Implementation
155
 * Receiver: DONE
155
 * Receiver: DONE
156
 * Transmitter:
156
 * Transmitter: DONE
157
 */
157
 */
158
#define IR_PROTO_SIRC       3
158
#define IR_PROTO_SIRC       3
159
#define IR_SIRC_ST_BIT      2400*CYCLES_PER_US/TIMER_PRESC      //us
159
#define IR_SIRC_ST_BIT      2400*CYCLES_PER_US/TIMER_PRESC      //us
160
#define IR_SIRC_LOW         600*CYCLES_PER_US/TIMER_PRESC       //us
160
#define IR_SIRC_LOW         600*CYCLES_PER_US/TIMER_PRESC       //us
161
#define IR_SIRC_HIGH_ONE    1200*CYCLES_PER_US/TIMER_PRESC      //us
161
#define IR_SIRC_HIGH_ONE    1200*CYCLES_PER_US/TIMER_PRESC      //us
Line 209... Line 209...
209
#define IR_SAMS_F_MOD       38                                  //kHz   (modulation frequency)
209
#define IR_SAMS_F_MOD       38                                  //kHz   (modulation frequency)
210
#define IR_SAMS_TOL_DIV     4
210
#define IR_SAMS_TOL_DIV     4
211
 
211
 
212
/* Marantz Implementation
212
/* Marantz Implementation
213
 * Receiver: DONE (has not been tested with odd adressbits)
213
 * Receiver: DONE (has not been tested with odd adressbits)
214
 * Transmitter:
214
 * Transmitter: DONE
215
 */
215
 */
216
#define IR_PROTO_MARANTZ        7
216
#define IR_PROTO_MARANTZ        7
217
#define IR_MARANTZ_HALF_BIT     889*CYCLES_PER_US/TIMER_PRESC       //us
217
#define IR_MARANTZ_HALF_BIT     889*CYCLES_PER_US/TIMER_PRESC       //us
218
#define IR_MARANTZ_BIT          889*2*CYCLES_PER_US/TIMER_PRESC     //us
218
#define IR_MARANTZ_BIT          889*2*CYCLES_PER_US/TIMER_PRESC     //us
219
#define IR_MARANTZ_TIMEOUT      105                                 //ms    (time between ir frames)
219
#define IR_MARANTZ_TIMEOUT      105                                 //ms    (time between ir frames)