Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
ir-sanyo-decoder.c File Reference
#include <linux/module.h>
#include <linux/bitrev.h>
#include "rc-core-priv.h"

Go to the source code of this file.

Macros

#define SANYO_NBITS   (13+13+8+8)
 
#define SANYO_UNIT   562500 /* ns */
 
#define SANYO_HEADER_PULSE   (16 * SANYO_UNIT)
 
#define SANYO_HEADER_SPACE   (8 * SANYO_UNIT)
 
#define SANYO_BIT_PULSE   (1 * SANYO_UNIT)
 
#define SANYO_BIT_0_SPACE   (1 * SANYO_UNIT)
 
#define SANYO_BIT_1_SPACE   (3 * SANYO_UNIT)
 
#define SANYO_REPEAT_SPACE   (150 * SANYO_UNIT)
 
#define SANYO_TRAILER_PULSE   (1 * SANYO_UNIT)
 
#define SANYO_TRAILER_SPACE   (10 * SANYO_UNIT) /* in fact, 42 */
 

Enumerations

enum  sanyo_state {
  STATE_INACTIVE, STATE_HEADER_SPACE, STATE_BIT_PULSE, STATE_BIT_SPACE,
  STATE_TRAILER_PULSE, STATE_TRAILER_SPACE
}
 

Functions

 module_init (ir_sanyo_decode_init)
 
 module_exit (ir_sanyo_decode_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Mauro Carvalho Chehab <[email protected]>")
 
 MODULE_AUTHOR ("Red Hat Inc. (http://www.redhat.com)")
 
 MODULE_DESCRIPTION ("SANYO IR protocol decoder")
 

Macro Definition Documentation

#define SANYO_BIT_0_SPACE   (1 * SANYO_UNIT)

Definition at line 33 of file ir-sanyo-decoder.c.

#define SANYO_BIT_1_SPACE   (3 * SANYO_UNIT)

Definition at line 34 of file ir-sanyo-decoder.c.

#define SANYO_BIT_PULSE   (1 * SANYO_UNIT)

Definition at line 32 of file ir-sanyo-decoder.c.

#define SANYO_HEADER_PULSE   (16 * SANYO_UNIT)

Definition at line 30 of file ir-sanyo-decoder.c.

#define SANYO_HEADER_SPACE   (8 * SANYO_UNIT)

Definition at line 31 of file ir-sanyo-decoder.c.

#define SANYO_NBITS   (13+13+8+8)

Definition at line 28 of file ir-sanyo-decoder.c.

#define SANYO_REPEAT_SPACE   (150 * SANYO_UNIT)

Definition at line 35 of file ir-sanyo-decoder.c.

#define SANYO_TRAILER_PULSE   (1 * SANYO_UNIT)

Definition at line 36 of file ir-sanyo-decoder.c.

#define SANYO_TRAILER_SPACE   (10 * SANYO_UNIT) /* in fact, 42 */

Definition at line 37 of file ir-sanyo-decoder.c.

#define SANYO_UNIT   562500 /* ns */

Definition at line 29 of file ir-sanyo-decoder.c.

Enumeration Type Documentation

Enumerator:
STATE_INACTIVE 
STATE_HEADER_SPACE 
STATE_BIT_PULSE 
STATE_BIT_SPACE 
STATE_TRAILER_PULSE 
STATE_TRAILER_SPACE 

Definition at line 39 of file ir-sanyo-decoder.c.

Function Documentation

MODULE_AUTHOR ( "Mauro Carvalho Chehab <[email protected]>"  )
MODULE_AUTHOR ( "Red Hat Inc. (http://www.redhat.com)"  )
MODULE_DESCRIPTION ( "SANYO IR protocol decoder"  )
module_exit ( ir_sanyo_decode_exit  )
module_init ( ir_sanyo_decode_init  )
MODULE_LICENSE ( "GPL"  )