mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-02 09:16:41 +09:00
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: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f765b2f4fb
commit
c06c3c953a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user