STRUCT VL6180_CHAN_REGS(9)
π 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
- 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