STRUCT APDS9306_REGFIELDS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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