mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
staging: comedi: addi_apci_3120: define the AI software trigger register
Define the offset for the analog input software trigger register. 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:
parent
ecaf4c41da
commit
dcb5e2c4df
2 changed files with 1 additions and 3 deletions
|
|
@ -43,9 +43,6 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY
|
|||
#define APCI3120_START 1
|
||||
#define APCI3120_STOP 0
|
||||
|
||||
/* software trigger dummy register */
|
||||
#define APCI3120_START_CONVERSION 0x02
|
||||
|
||||
/* TIMER DEFINE */
|
||||
#define APCI3120_QUARTZ_A 70
|
||||
#define APCI3120_QUARTZ_B 50
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@
|
|||
#define APCI3120_CTRL_GATE(x) (1 << (12 + (x)))
|
||||
#define APCI3120_CTRL_PR(x) (((x) & 0xf) << 8)
|
||||
#define APCI3120_CTRL_PA(x) (((x) & 0xf) << 0)
|
||||
#define APCI3120_AI_SOFTTRIG_REG 0x02
|
||||
#define APCI3120_STATUS_REG 0x02
|
||||
#define APCI3120_STATUS_EOC_INT (1 << 15)
|
||||
#define APCI3120_STATUS_AMCC_INT (1 << 14)
|
||||
|
|
|
|||
Loading…
Reference in a new issue