Commit c06c3c95 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: quatech_daqp_cs: document the 16-bit registers

All the registers are 8-bit except for the analog output and timer
registers. For clarity, add some comments.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f765b2f4
......@@ -111,8 +111,10 @@
#define DAQP_CMD_SCANRATE_25KHZ DAQP_CMD_SCANRATE(2)
#define DAQP_CMD_FIFO_DATA BIT(0)
#define DAQP_AO_REG 0x08
#define DAQP_TIMER_REG 0x0a
#define DAQP_AO_REG 0x08 /* and 0x09 (16-bit) */
#define DAQP_TIMER_REG 0x0a /* and 0x0b (16-bit) */
#define DAQP_AUX_REG 0x0f
#define DAQP_AUX_TRIGGER_TTL 0x00
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment