STRUCT VEML6046X00_DATA(9)
π struct veml6046x00_data(9) π
okay so bestie, this is a page out of the Kernel API Manual, and it's literally all about struct veml6046x00_data β the private data of the driver. yes, the whole page is one struct, and honestly? she's iconic for that. π
β¨ NAME β¨
struct veml6046x00_data β Private data of driver. that's it, that's the whole vibe. this struct is the driver's little personal diary π
πΈ SYNOPSIS πΈ
here's exactly what she looks like, no cap, copy-paste energy:
struct veml6046x00_data {
struct regmap *regmap;
struct iio_trigger *trig;
struct veml6046x00_rf rf;
};
three members, all baddies, all holding down a different job. scroll down for the breakdown π
π¦ Members π¦
regmapβ the Regmap definition of sensor. that's the sensor's whole bookkeeping situation right there πtrigβ the Industrial-IO trigger. yes ma'am, the trigger gets a spot in the private data π«Άrfβ the Regmap field of configuration. configuration, but make it a regmap field β¨
π SEE ALSO π
go read these next, i'm literally obsessed with this little reading list:
- Kernel file
./drivers/iio/light/veml6046x00.c struct veml6046x00_rf(9)- Valid integration times (IT)(9)
- Handling of gain and photodiode size (PD)(9)
struct veml6046x00_gain_pd(9)- Factors for calculation of lux(9)
veml6046x00_read_data_ready(9)veml6046x00_wait_data_available(9)
like, that's a whole syllabus. study bestie, study ππ¦
ngl, this one's short and sweet β but every member matters, so don't skip the docs above before you go poking at veml6046x00_data in the wild. π«Ά
π okay that's the whole page!! and fr fr, this came from ./drivers/iio/light, October 2026, straight out of the Kernel API Manual. mwah, go ship something cute ππβ
π¦ 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