From 2edd66775b2f6b840e297c26e3e75e5c3fd13923 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Fri, 28 Mar 2008 15:29:16 +0000 Subject: [PATCH] synced with comedi. --- include/comedi.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/comedi.h b/include/comedi.h index d0e3d57..4f64572 100644 --- a/include/comedi.h +++ b/include/comedi.h @@ -256,6 +256,7 @@ extern "C" { INSN_CONFIG_GET_CLOCK_SRC = 2004, // Get master clock source INSN_CONFIG_SET_OTHER_SRC = 2005, // Set other source // INSN_CONFIG_GET_OTHER_SRC = 2006, // Get other source + INSN_CONFIG_GET_HARDWARE_BUFFER_SIZE, // Get size in bytes of subdevice's on-board fifos used during streaming input/output INSN_CONFIG_SET_COUNTER_MODE = 4097, INSN_CONFIG_8254_SET_MODE = INSN_CONFIG_SET_COUNTER_MODE, /* deprecated */ INSN_CONFIG_8254_READ_STATUS = 4098, @@ -264,7 +265,7 @@ extern "C" { /* PWM */ INSN_CONFIG_PWM_SET_PERIOD = 5000, /* sets frequency */ INSN_CONFIG_PWM_GET_PERIOD = 5001, /* gets frequency */ - INSN_GET_PWM_STATUS = 5002, /* is it running? */ + INSN_CONFIG_GET_PWM_STATUS = 5002, /* is it running? */ INSN_CONFIG_PWM_SET_H_BRIDGE = 5003, /* sets H bridge: duty cycle and sign bit for a relay at the same time*/ INSN_CONFIG_PWM_GET_H_BRIDGE = 5004 /* gets H bridge data: duty cycle and the sign bit */ }; @@ -837,7 +838,7 @@ CR_INVERT to change polarity. */ AMPLC_DIO_CLK_1KHZ, /* 1 kHz internal clock */ AMPLC_DIO_CLK_OUTNM1, /* output of preceding counter channel (for channel 0, preceding counter - channel is channel 2 on preceding + channel is channel 2 on preceding counter subdevice, for first counter subdevice, preceding counter subdevice is the last counter -- 2.26.2