comedi_arm_channel3
Arm a subdevice channel
Status
alpha
Overview
This function arms a specified channel of a subdevice. It may, for example, arm a counter to begin counting. The source parameter specifies what source should trigger the subdevice to begin. The possible sources are driver-dependant. This function is only useable on subdevices that provide support for the INSN_CONFIG_ARM configuration instruction. Some subdevices treat this as an instruction to arm the whole subdevice and ignore the specified channel. For such subdevices, comedi_arm is normally called instead.
Return value
0 on success, -1 on error.
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)