STRUCT VL6180_CHAN_REGS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct vl6180_chan_regs(9) πŸ’…

okay bestie, welcome to the Kernel API Manual page for struct vl6180_chan_regs(9) β€” manual name folded in right here, no boring header line needed. This is the Registers for accessing channels struct, and we're gonna get into it together. πŸ’–βœ¨

🌸 NAME 🌸

struct vl6180_chan_regs β€” Registers for accessing channels.

✨ SYNOPSIS ✨

Here's the struct, literally copied exact so nothing gets lost:

struct vl6180_chan_regs {
    u8 drdy_mask;
    u16 start_reg, value_reg;
    bool word;
};

πŸŽ€ Members πŸŽ€

  • drdy_mask β€” the data-ready bit, and it's in the status register. That's the whole vibe. πŸ’…
  • start_reg β€” the conversion start register. The "start" is right there in the name, periodt. ✨
  • value_reg β€” the result value register. Result value? Register? Yes bestie, both. 🌸
  • word β€” the register word length. It tells you the word length, no cap. πŸ¦‹

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/iio/light/vl6180.c β€” go peek at the kernel file, bestie, it's right there. 🫢

mwah πŸ’‹ β€” this page's source/version is ./drivers/iio/light, dated October 2026, and it's all about struct vl6180_chan_regs(9). That's the footer tea, folded into a cute little sign-off. πŸŽ€πŸ’œ

πŸ“¦ where this page comes from