ENUM V4L2_SUBDEV_IO_PIN_BITS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so this is enum v4l2_subdev_io_pin_bits(9), straight from the Kernel API Manual, and it’s literally the tiny but iconic enum for Subdevice external IO pin configuration bits. highkey a whole vibe. πŸ’…βœ¨

πŸ’– NAME

enum v4l2_subdev_io_pin_bits β€” Subdevice external IO pin configuration bits. That’s the name, bestie, and it ate. 🫢

✨ SYNOPSIS

here’s the enum in all its exact, character-for-character glory:

enum v4l2_subdev_io_pin_bits {
    V4L2_SUBDEV_IO_PIN_DISABLE ,
    V4L2_SUBDEV_IO_PIN_OUTPUT ,
    V4L2_SUBDEV_IO_PIN_INPUT ,
    V4L2_SUBDEV_IO_PIN_SET_VALUE ,
    V4L2_SUBDEV_IO_PIN_ACTIVE_LOW

};

πŸŽ€ Constants

vibe check on each constant β€” no cap, all the details stay:

  • V4L2_SUBDEV_IO_PIN_DISABLE β€” disables a pin config. ENABLE assumed. 🫢
  • V4L2_SUBDEV_IO_PIN_OUTPUT β€” set it if pin is an output. πŸ’…
  • V4L2_SUBDEV_IO_PIN_INPUT β€” set it if pin is an input. 🌸
  • V4L2_SUBDEV_IO_PIN_SET_VALUE β€” to set the output value via struct v4l2_subdev_io_pin_config->value. πŸ”₯
  • V4L2_SUBDEV_IO_PIN_ACTIVE_LOW β€” pin active is bit 0. Otherwise, ACTIVE HIGH is assumed. ⭐

🌈 SEE ALSO

the kernel file is ./include/media/v4l2-subdev.h, and then the whole SEE ALSO squad rolls in β€” all of these are exactly as listed, periodt:

mwah πŸ’‹ β€” this little love letter comes from source/version ./include/media, dated October 2026, and it’s the enum v4l2_su..._io_pin_bits(9) manual. periodt. πŸ‘‘

πŸ“¦ where this page comes from