#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/errno.h>
#include <linux/input.h>
#include <linux/slab.h>
#include <linux/poll.h>
#include <linux/usb.h>
#include <linux/uaccess.h>
#include "../comedidev.h"
Go to the source code of this file.
#define dbgcm |
( |
|
fmt, |
|
|
|
arg... |
|
) |
| |
#define IC3_VERSION (1 << 0) |
#define IC6_VERSION (1 << 1) |
#define TRANS_IN_RUNNING 3 |
#define URB_RCV_FLAG (1 << 0) |
#define URB_SND_FLAG (1 << 1) |
#define VMK8055_AI1_REG 0x02 |
#define VMK8055_AI2_REG 0x03 |
#define VMK8055_AO1_REG 0x02 |
#define VMK8055_AO2_REG 0x03 |
#define VMK8055_CMD_DEB1_TIME 0x01 |
#define VMK8055_CMD_DEB2_TIME 0x02 |
#define VMK8055_CMD_RST 0x00 |
#define VMK8055_CMD_RST_CNT1 0x03 |
#define VMK8055_CMD_RST_CNT2 0x04 |
#define VMK8055_CMD_WRT_AD 0x05 |
#define VMK8055_CNT1_REG 0x04 |
#define VMK8055_CNT2_REG 0x06 |
#define VMK8055_DI_REG 0x00 |
#define VMK8055_DO_REG 0x01 |
#define VMK8061_AI_REG1 0x02 |
#define VMK8061_AI_REG2 0x03 |
#define VMK8061_AO_REG 0x02 |
#define VMK8061_CH_REG 0x01 |
#define VMK8061_CMD_CLR_DO 0x07 |
#define VMK8061_CMD_DO 0x06 /* !non-active! */ |
#define VMK8061_CMD_OUT_PWM 0x04 |
#define VMK8061_CMD_RD_AI 0x00 |
#define VMK8061_CMD_RD_AO 0x0f |
#define VMK8061_CMD_RD_CNT 0x09 /* TODO: completely pointless? */ |
#define VMK8061_CMD_RD_DI 0x05 |
#define VMK8061_CMD_RD_DO 0x0e |
#define VMK8061_CMD_RD_JMP_STAT 0x0c /* TODO: not implemented yet */ |
#define VMK8061_CMD_RD_PWM 0x10 |
#define VMK8061_CMD_RD_PWR_STAT 0x0d /* internal usage */ |
#define VMK8061_CMD_RD_VERSION 0x0b /* internal usage */ |
#define VMK8061_CMD_RST_CNT 0x0a /* TODO: completely pointless? */ |
#define VMK8061_CMD_SET_ALL_AO 0x03 /* !non-active! */ |
#define VMK8061_CMD_SET_AO 0x02 |
#define VMK8061_CMD_SET_DO 0x08 |
#define VMK8061_CMR_RD_ALL_AI 0x01 /* !non-active! */ |
#define VMK8061_CNT_REG 0x02 |
#define VMK8061_DI_REG 0x01 |
#define VMK8061_DO_REG 0x01 |
#define VMK8061_PWM_REG1 0x01 |
#define VMK8061_PWM_REG2 0x02 |
- Enumerator:
DEVICE_VMK8055 |
|
DEVICE_VMK8061 |
|
Definition at line 67 of file vmk80xx.c.
- Enumerator:
VMK80XX_SUBD_AI |
|
VMK80XX_SUBD_AO |
|
VMK80XX_SUBD_DI |
|
VMK80XX_SUBD_DO |
|
VMK80XX_SUBD_CNT |
|
VMK80XX_SUBD_PWM |
|
Definition at line 176 of file vmk80xx.c.
- Enumerator:
VMK8055_MODEL |
|
VMK8061_MODEL |
|
Definition at line 140 of file vmk80xx.c.
module_comedi_usb_driver |
( |
vmk80xx_driver |
, |
|
|
vmk80xx_usb_driver |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"Velleman USB Board Low-Level Driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
vmk80xx_usb_id_table |
|
|
) |
| |
MODULE_SUPPORTED_DEVICE |
( |
"K8055/K8061 aka VM110/VM140" |
| ) |
|
MODULE_VERSION |
( |
"0.8.01" |
| ) |
|