STRUCT VCNL3020_PROPERTY(9)
π NAME π
okay bestie, meet struct vcnl3020_property(9) from the Kernel API Manual β itβs literally the vcnl3020 property struct, and itβs giving tiny-but-important. periodt π
β¨ SYNOPSIS β¨
hereβs the whole struct, no cap:
struct vcnl3020_property {
const char *name;
u32 reg;
u32 (*conversion_func)(u32 *val);
};
π Members π
nameβ the property name. iconic littleconst char *, slay.regβ the i2c register offset. yep, itβs au32.conversion_funcβ the conversion function. itβs theu32 (*conversion_func)(u32 *val)moment, doing its conversion thing.
π¦ SEE ALSO π¦
- Kernel file
./drivers/iio/proximity/vcnl3020.c struct vcnl3020_data(9)
and thatβs the whole page, bestie π«Ά source/version vibes: ./drivers/iio/proximity, dated October 2026 β mwah π
π¦ 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