ENUM COMEDI_COUNTER_STATUS_FLAGS(9)
β¨ NAME β¨
so this page is enum comedi_...status_flags(9) from the Kernel API Manual, and it's literally just about enum comedi_counter_status_flags β the counter status bits π
π SYNOPSIS π
enum comedi_counter_status_flags {
COMEDI_COUNTER_ARMED ,
COMEDI_COUNTER_COUNTING ,
COMEDI_COUNTER_TERMINAL_COUNT
};
πΈ Constants πΈ
COMEDI_COUNTER_ARMEDβ the counter is armed, bestie. it's locked and loaded πCOMEDI_COUNTER_COUNTINGβ the counter is counting. it's doing the thing, actively, rn π₯COMEDI_COUNTER_TERMINAL_COUNTβ the counter reached terminal count. it hit the end, it ate, periodt β¨
π¦ Description π¦
okay so these are bitwise values, meaning they're meant to be OR'd together and whatnot, and the INSN_CONFIG_GET_COUNTER_STATUS configuration instruction uses them to report the status of a counter. that's the whole vibe check β they exist purely so the instruction can tell you what's up with your counter π
π«Ά SEE ALSO π«Ά
the kernel file lives at ./include/uapi/linux/comedi.h, and it's giving main character energy in some very good company:
enum comedi_subdevice_type(9)enum comedi_io_direction(9)enum configuration_ids(9)enum comedi_digital_trig_op(9)enum comedi_support_level(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)
okay that's the whole page, no cap π it ships from ./include/uapi/linux, dated October 2026, and it's filed under enum comedi_...status_flags(9) β go read the rest of the comedi lore, iykyk π§π«
π¦ 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