ENUM CONFIGURATION_IDS(9)
π 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 useINSN_CONFIG_DIGITAL_TRIGinstead.) 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 asINSN_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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms