ENUM CONFIGURATION_IDS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to the enum configuration_ids(9) page from the Kernel API Manual. This is literally the COMEDI configuration instruction codes list β€” enum configuration_ids β€” and we are gonna go through every single one, no skips, periodt πŸ’…βœ¨

✨ SYNOPSIS ✨

Here’s the exact enum lineup, copied character-for-character, no cap:

       enum configuration_ids {
           INSN_CONFIG_DIO_INPUT ,
           INSN_CONFIG_DIO_OUTPUT ,
           INSN_CONFIG_DIO_OPENDRAIN ,
           INSN_CONFIG_ANALOG_TRIG ,
           INSN_CONFIG_ALT_SOURCE ,
           INSN_CONFIG_DIGITAL_TRIG ,
           INSN_CONFIG_BLOCK_SIZE ,
           INSN_CONFIG_TIMER_1 ,
           INSN_CONFIG_FILTER ,
           INSN_CONFIG_CHANGE_NOTIFY ,
           INSN_CONFIG_SERIAL_CLOCK ,
           INSN_CONFIG_BIDIRECTIONAL_DATA ,
           INSN_CONFIG_DIO_QUERY ,
           INSN_CONFIG_PWM_OUTPUT ,
           INSN_CONFIG_GET_PWM_OUTPUT ,
           INSN_CONFIG_ARM ,
           INSN_CONFIG_DISARM ,
           INSN_CONFIG_GET_COUNTER_STATUS ,
           INSN_CONFIG_RESET ,
           INSN_CONFIG_GPCT_SINGLE_PULSE_GENERATOR ,
           INSN_CONFIG_GPCT_PULSE_TRAIN_GENERATOR ,
           INSN_CONFIG_GPCT_QUADRATURE_ENCODER ,
           INSN_CONFIG_SET_GATE_SRC ,
           INSN_CONFIG_GET_GATE_SRC ,
           INSN_CONFIG_SET_CLOCK_SRC ,
           INSN_CONFIG_GET_CLOCK_SRC ,
           INSN_CONFIG_SET_OTHER_SRC ,
           INSN_CONFIG_GET_HARDWARE_BUFFER_SIZE ,
           INSN_CONFIG_SET_COUNTER_MODE ,
           INSN_CONFIG_8254_SET_MODE ,
           INSN_CONFIG_8254_READ_STATUS ,
           INSN_CONFIG_SET_ROUTING ,
           INSN_CONFIG_GET_ROUTING ,
           INSN_CONFIG_PWM_SET_PERIOD ,
           INSN_CONFIG_PWM_GET_PERIOD ,
           INSN_CONFIG_GET_PWM_STATUS ,
           INSN_CONFIG_PWM_SET_H_BRIDGE ,
           INSN_CONFIG_PWM_GET_H_BRIDGE ,
           INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS

       };

πŸŽ€ Constants πŸŽ€

These are the constants, bestie β€” the whole squad, in order, with zero omissions 🫢:

  • INSN_CONFIG_DIO_INPUT β€” configure digital I/O as input. classic input vibes πŸ’…
  • INSN_CONFIG_DIO_OUTPUT β€” configure digital I/O as output. making it send, slay ✨
  • INSN_CONFIG_DIO_OPENDRAIN β€” configure digital I/O as open-drain (or open collector) output. yes, exactly that wording, no cap 🫢
  • INSN_CONFIG_ANALOG_TRIG β€” configure analog trigger. analog era 🌸
  • INSN_CONFIG_ALT_SOURCE β€” configure alternate input source. the other source, iykyk πŸ¦‹
  • INSN_CONFIG_DIGITAL_TRIG β€” configure digital trigger. digital trigger bestie ⭐
  • INSN_CONFIG_BLOCK_SIZE β€” configure block size for DMA transfers. block size, periodt πŸ“¦
  • INSN_CONFIG_TIMER_1 β€” configure divisor for external clock. timer one, iconic ⏱️
  • INSN_CONFIG_FILTER β€” configure a filter. filter it πŸ’…
  • INSN_CONFIG_CHANGE_NOTIFY β€” configure change notification for digital inputs. (New drivers should use INSN_CONFIG_DIGITAL_TRIG instead.) bestie that parenthesis is important πŸ™ˆ
  • INSN_CONFIG_SERIAL_CLOCK β€” configure clock for serial I/O. serial clock moment πŸŽ€
  • INSN_CONFIG_BIDIRECTIONAL_DATA β€” send and receive byte over serial I/O. one byte, doing both πŸ’«
  • INSN_CONFIG_DIO_QUERY β€” query direction of digital I/O channel. just asking, lowkey πŸ‘€
  • INSN_CONFIG_PWM_OUTPUT β€” configure pulse-width modulator output. pwm output ✨
  • INSN_CONFIG_GET_PWM_OUTPUT β€” get pulse-width modulator output configuration. getting the config, slay πŸ”₯
  • INSN_CONFIG_ARM β€” arm a subdevice or channel. arm it πŸ‘‘
  • INSN_CONFIG_DISARM β€” disarm a subdevice or channel. disarm it πŸ’…
  • INSN_CONFIG_GET_COUNTER_STATUS β€” get counter status. status check 🫢
  • INSN_CONFIG_RESET β€” reset a subdevice or channel. reset era 🌈
  • INSN_CONFIG_GPCT_SINGLE_PULSE_GENERATOR β€” configure counter/timer as single pulse generator. single pulse generator, iconic ⚑
  • INSN_CONFIG_GPCT_PULSE_TRAIN_GENERATOR β€” configure counter/timer as pulse train generator. pulse train generator, choo choo πŸš‚
  • INSN_CONFIG_GPCT_QUADRATURE_ENCODER β€” configure counter as a quadrature encoder. quadrature encoder bestie πŸŒ€
  • INSN_CONFIG_SET_GATE_SRC β€” set counter/timer gate source. set that gate source πŸšͺ
  • INSN_CONFIG_GET_GATE_SRC β€” get counter/timer gate source. get that gate source πŸšͺ✨
  • INSN_CONFIG_SET_CLOCK_SRC β€” set counter/timer master clock source. master clock source, main character energy ⏰
  • INSN_CONFIG_GET_CLOCK_SRC β€” get counter/timer master clock source. getting the master clock source πŸ•°οΈ
  • INSN_CONFIG_SET_OTHER_SRC β€” set counter/timer "other" source. yes, the "other" source, quotes and all πŸ’…
  • INSN_CONFIG_GET_HARDWARE_BUFFER_SIZE β€” get size (in bytes) of subdevice's on-board FIFOs used during streaming input/output. on-board FIFOs, streaming, all of it 🫢
  • INSN_CONFIG_SET_COUNTER_MODE β€” set counter/timer mode. mode setting, periodt πŸŽ›οΈ
  • INSN_CONFIG_8254_SET_MODE β€” (Deprecated) Same as INSN_CONFIG_SET_COUNTER_MODE. bestie it’s deprecated, lowkey legacy πŸ’€
  • INSN_CONFIG_8254_READ_STATUS β€” read status of 8254 counter channel. reading that 8254 status πŸ‘€
  • INSN_CONFIG_SET_ROUTING β€” set routing for a channel. routing time πŸ›£οΈ
  • INSN_CONFIG_GET_ROUTING β€” get routing for a channel. get that routing πŸ›£οΈβœ¨
  • INSN_CONFIG_PWM_SET_PERIOD β€” set PWM period in nanoseconds. nanoseconds, fancy πŸ’«
  • INSN_CONFIG_PWM_GET_PERIOD β€” get PWM period in nanoseconds. getting the nanoseconds 🌸
  • INSN_CONFIG_GET_PWM_STATUS β€” get PWM status. pwm status check 🫢
  • INSN_CONFIG_PWM_SET_H_BRIDGE β€” set PWM H bridge duty cycle and polarity for a relay simultaneously. simultaneously, bestie πŸ”₯
  • INSN_CONFIG_PWM_GET_H_BRIDGE β€” get PWM H bridge duty cycle and polarity. getting that H bridge info ⚑
  • INSN_CONFIG_GET_CMD_TIMING_CONSTRAINTS β€” get the hardware timing restraints, regardless of trigger sources. hardware timing restraints, regardless of trigger sources, fr fr ⏳

🌈 SEE ALSO 🌈

Kernel file: ./include/uapi/linux/comedi.h β€” and the SEE ALSO besties are:

  • enum comedi_subdevice_type(9)
  • enum comedi_io_direction(9)
  • enum comedi_digital_trig_op(9)
  • enum comedi_support_level(9)
  • enum comedi_counter_status_flags(9)
  • struct comedi_insn(9)
  • struct comedi_insnlist(9)
  • struct comedi_cmd(9)
  • struct comedi_chaninfo(9)
  • struct comedi_rangeinfo(9)
  • struct comedi_krange(9)
  • struct comedi_subdinfo(9)
  • struct comedi_devinfo(9)
  • struct comedi_devconfig(9)
  • struct comedi_bufconfig(9)
  • struct comedi_bufinfo(9)

source/version: ./include/uapi/linux Β· date: October 2026 Β· page: enum configuration_ids(9) β€” that’s the whole vibe check, bye bestie πŸ«ΆπŸ’–πŸ¦‹

πŸ“¦ where this page comes from