ENUM COMEDI_COUNTER_STATUS_FLAGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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