STRUCT APDS9306_REGFIELDS(9)
π struct apds9306_regfields(9) π
okay so bestie, welcome to the Kernel API Manual, pull up a chair π β this page is literally all about struct apds9306_regfields, which is the struct that holds all the regmap field definitions for the apds9306 light sensor driver. that's it. that's the vibe. no cap π«Ά
β¨ NAME β¨
struct apds9306_regfields β the apds9306 regmap fields definitions, periodt π
πΈ SYNOPSIS πΈ
like, here's the whole thing, bestie β every member, exactly as written, don't touch a single character π₯
struct apds9306_regfields {
struct regmap_field *sw_reset;
struct regmap_field *en;
struct regmap_field *intg_time;
struct regmap_field *repeat_rate;
struct regmap_field *gain;
struct regmap_field *int_src;
struct regmap_field *int_thresh_var_en;
struct regmap_field *int_en;
struct regmap_field *int_persist_val;
struct regmap_field *int_thresh_var_val;
};
π¦ Members π¦
girl, meet the cast β each one is a struct regmap_field * and each one has a job π
sw_resetβ the Software reset regfield β¨ hitting this one is the "start over, bestie" button.enβ the Enable regfield π the on/off of the whole situation.intg_timeβ the Resolution regfield πΈ yep, resolution lives here.repeat_rateβ the Measurement Rate regfield π how often we're out here measuring.gainβ the Hardware gain regfield π₯ turning the volume up on the hardware itself.int_srcβ the Interrupt channel regfield β which channel the interrupt is on, iykyk.int_thresh_var_enβ the Interrupt variance threshold regfield π the enable for the variance threshold interrupt.int_enβ the Interrupt enable regfield π the one that decides if interrupts even get to speak.int_persist_valβ the Interrupt persistence regfield π§ the value for interrupt persistence.int_thresh_var_valβ the Interrupt threshold variance value regfield π the actual value for the variance threshold.
β SEE ALSO β
- Kernel file
./drivers/iio/light/apds9306.c struct part_id_gts_multiplier(9)struct apds9306_data(9)
go read those too, bestie, they're giving main character energy π¦
ok that's the whole page, no skips, no summaries, we ate and left no crumbs π
mwah π see u in the group chat β this was the Kernel API Manual entry for struct apds9306_regfields(9), straight out of ./drivers/iio/light, dated October 2026 πβ¨π«Ά
π¦ 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