Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/parport.h>
#include <linux/input.h>
#include <linux/hrtimer.h>
Go to the source code of this file.
Data Structures | |
struct | walkera_dev |
Macros | |
#define | RESERVE 20000 |
#define | SYNC_PULSE 1306000 |
#define | BIN0_PULSE 288000 |
#define | BIN1_PULSE 438000 |
#define | ANALOG_MIN_PULSE 318000 |
#define | ANALOG_MAX_PULSE 878000 |
#define | ANALOG_DELTA 80000 |
#define | BIN_SAMPLE ((BIN0_PULSE + BIN1_PULSE) / 2) |
#define | NO_SYNC 25 |
Functions | |
MODULE_AUTHOR ("Peter Popovec <popovec@fei.tuke.sk>") | |
MODULE_DESCRIPTION ("Walkera WK-0701 TX as joystick") | |
MODULE_LICENSE ("GPL") | |
module_param_named (port, walkera0701_pp_no, int, 0) | |
MODULE_PARM_DESC (port,"Parallel port adapter for Walkera WK-0701 TX (default is 0)") | |
module_init (walkera0701_init) | |
module_exit (walkera0701_exit) | |
#define ANALOG_DELTA 80000 |
Definition at line 24 of file walkera0701.c.
#define ANALOG_MAX_PULSE 878000 |
Definition at line 23 of file walkera0701.c.
#define ANALOG_MIN_PULSE 318000 |
Definition at line 22 of file walkera0701.c.
#define BIN0_PULSE 288000 |
Definition at line 19 of file walkera0701.c.
#define BIN1_PULSE 438000 |
Definition at line 20 of file walkera0701.c.
#define BIN_SAMPLE ((BIN0_PULSE + BIN1_PULSE) / 2) |
Definition at line 26 of file walkera0701.c.
#define NO_SYNC 25 |
Definition at line 28 of file walkera0701.c.
#define RESERVE 20000 |
Definition at line 17 of file walkera0701.c.
#define SYNC_PULSE 1306000 |
Definition at line 18 of file walkera0701.c.
MODULE_AUTHOR | ( | "Peter Popovec <popovec@fei.tuke.sk>" | ) |
module_exit | ( | walkera0701_exit | ) |
module_init | ( | walkera0701_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |