IRremote
ir_RC5_RC6.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RC5_ADDRESS_BITS   5
 
#define RC5_COMMAND_BITS   6
 
#define RC5_COMMAND_FIELD_BIT   1
 
#define RC5_TOGGLE_BIT   1
 
#define RC5_BITS   (RC5_COMMAND_FIELD_BIT + RC5_TOGGLE_BIT + RC5_ADDRESS_BITS + RC5_COMMAND_BITS)
 
#define RC5_UNIT   889
 
#define MIN_RC5_MARKS   ((RC5_BITS + 1) / 2)
 
#define RC5_DURATION   (15L * RC5_UNIT)
 
#define RC5_REPEAT_PERIOD   (128L * RC5_UNIT)
 
#define RC5_REPEAT_DISTANCE   (RC5_REPEAT_PERIOD - RC5_DURATION)
 
#define RC5_MAXIMUM_REPEAT_DISTANCE   (RC5_REPEAT_DISTANCE + (RC5_REPEAT_DISTANCE / 4))
 
#define MIN_RC6_SAMPLES   1
 
#define RC6_RPT_LENGTH   46000
 
#define RC6_LEADING_BIT   1
 
#define RC6_MODE_BITS   3
 
#define RC6_TOGGLE_BIT   1
 
#define RC6_TOGGLE_BIT_INDEX   RC6_MODE_BITS
 
#define RC6_ADDRESS_BITS   8
 
#define RC6_COMMAND_BITS   8
 
#define RC6_BITS   (RC6_LEADING_BIT + RC6_MODE_BITS + RC6_TOGGLE_BIT + RC6_ADDRESS_BITS + RC6_COMMAND_BITS)
 
#define RC6_UNIT   444
 
#define RC6_HEADER_MARK   (6 * RC6_UNIT)
 
#define RC6_HEADER_SPACE   (2 * RC6_UNIT)
 
#define RC6_TRAILING_SPACE   (6 * RC6_UNIT)
 
#define MIN_RC6_MARKS   4 + ((RC6_ADDRESS_BITS + RC6_COMMAND_BITS) / 2)
 
#define RC6_REPEAT_DISTANCE   107000
 
#define RC6_MAXIMUM_REPEAT_DISTANCE   (RC6_REPEAT_DISTANCE + (RC6_REPEAT_DISTANCE / 4))
 

Variables

uint8_t sLastSendToggleValue = 1