Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | RC6_UNIT 444444 /* nanosecs */ |
#define | RC6_HEADER_NBITS 4 /* not including toggle bit */ |
#define | RC6_0_NBITS 16 |
#define | RC6_6A_32_NBITS 32 |
#define | RC6_6A_NBITS 128 /* Variable 8..128 */ |
#define | RC6_PREFIX_PULSE (6 * RC6_UNIT) |
#define | RC6_PREFIX_SPACE (2 * RC6_UNIT) |
#define | RC6_BIT_START (1 * RC6_UNIT) |
#define | RC6_BIT_END (1 * RC6_UNIT) |
#define | RC6_TOGGLE_START (2 * RC6_UNIT) |
#define | RC6_TOGGLE_END (2 * RC6_UNIT) |
#define | RC6_SUFFIX_SPACE (6 * RC6_UNIT) |
#define | RC6_MODE_MASK 0x07 /* for the header bits */ |
#define | RC6_STARTBIT_MASK 0x08 /* for the header bits */ |
#define | RC6_6A_MCE_TOGGLE_MASK 0x8000 /* for the body bits */ |
#define | RC6_6A_LCC_MASK 0xffff0000 /* RC6-6A-32 long customer code mask */ |
#define | RC6_6A_MCE_CC 0x800f0000 /* MCE customer code */ |
#define | CHAR_BIT 8 /* Normally in <limits.h> */ |
Enumerations | |
enum | rc6_mode { RC6_MODE_0, RC6_MODE_6A, RC6_MODE_UNKNOWN } |
enum | rc6_state { STATE_INACTIVE, STATE_PREFIX_SPACE, STATE_HEADER_BIT_START, STATE_HEADER_BIT_END, STATE_TOGGLE_START, STATE_TOGGLE_END, STATE_BODY_BIT_START, STATE_BODY_BIT_END, STATE_FINISHED } |
Functions | |
module_init (ir_rc6_decode_init) | |
module_exit (ir_rc6_decode_exit) | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("David Härdeman <[email protected]>") | |
MODULE_DESCRIPTION ("RC6 IR protocol decoder") | |
Definition at line 44 of file ir-rc6-decoder.c.
#define RC6_0_NBITS 16 |
Definition at line 28 of file ir-rc6-decoder.c.
#define RC6_6A_32_NBITS 32 |
Definition at line 29 of file ir-rc6-decoder.c.
#define RC6_6A_LCC_MASK 0xffff0000 /* RC6-6A-32 long customer code mask */ |
Definition at line 41 of file ir-rc6-decoder.c.
#define RC6_6A_MCE_CC 0x800f0000 /* MCE customer code */ |
Definition at line 42 of file ir-rc6-decoder.c.
#define RC6_6A_MCE_TOGGLE_MASK 0x8000 /* for the body bits */ |
Definition at line 40 of file ir-rc6-decoder.c.
#define RC6_6A_NBITS 128 /* Variable 8..128 */ |
Definition at line 30 of file ir-rc6-decoder.c.
#define RC6_BIT_END (1 * RC6_UNIT) |
Definition at line 34 of file ir-rc6-decoder.c.
#define RC6_BIT_START (1 * RC6_UNIT) |
Definition at line 33 of file ir-rc6-decoder.c.
Definition at line 27 of file ir-rc6-decoder.c.
#define RC6_MODE_MASK 0x07 /* for the header bits */ |
Definition at line 38 of file ir-rc6-decoder.c.
#define RC6_PREFIX_PULSE (6 * RC6_UNIT) |
Definition at line 31 of file ir-rc6-decoder.c.
#define RC6_PREFIX_SPACE (2 * RC6_UNIT) |
Definition at line 32 of file ir-rc6-decoder.c.
#define RC6_STARTBIT_MASK 0x08 /* for the header bits */ |
Definition at line 39 of file ir-rc6-decoder.c.
#define RC6_SUFFIX_SPACE (6 * RC6_UNIT) |
Definition at line 37 of file ir-rc6-decoder.c.
#define RC6_TOGGLE_END (2 * RC6_UNIT) |
Definition at line 36 of file ir-rc6-decoder.c.
#define RC6_TOGGLE_START (2 * RC6_UNIT) |
Definition at line 35 of file ir-rc6-decoder.c.
#define RC6_UNIT 444444 /* nanosecs */ |
Definition at line 26 of file ir-rc6-decoder.c.
enum rc6_mode |
Definition at line 47 of file ir-rc6-decoder.c.
enum rc6_state |
STATE_INACTIVE | |
STATE_PREFIX_SPACE | |
STATE_HEADER_BIT_START | |
STATE_HEADER_BIT_END | |
STATE_TOGGLE_START | |
STATE_TOGGLE_END | |
STATE_BODY_BIT_START | |
STATE_BODY_BIT_END | |
STATE_FINISHED |
Definition at line 53 of file ir-rc6-decoder.c.
MODULE_AUTHOR | ( | "David Härdeman <[email protected]>" | ) |
module_exit | ( | ir_rc6_decode_exit | ) |
module_init | ( | ir_rc6_decode_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |