mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
staging: comedi: s526: define the miscellaneous register and bits
Define this register and its bits. 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
658441b48c
commit
64fe38f49c
@@ -83,8 +83,8 @@
|
||||
#define S526_INT_AI BIT(2)
|
||||
#define S526_INT_AO BIT(1)
|
||||
#define S526_INT_TIMER BIT(0)
|
||||
#define REG_MSC 0x10
|
||||
|
||||
#define S526_MISC_REG 0x10
|
||||
#define S526_MISC_LED_OFF BIT(0)
|
||||
#define S526_GPCT_LSB_REG(x) (0x12 + ((x) * 8))
|
||||
#define S526_GPCT_MSB_REG(x) (0x14 + ((x) * 8))
|
||||
#define S526_GPCT_MODE_REG(x) (0x16 + ((x) * 8))
|
||||
|
||||
Reference in New Issue
Block a user