STRUCT ZPA2326_FREQUENCY(9)
β¨ struct zpa2326_frequency(9) β¨
okay bestie, gather round, because this is the little struct that could π it lives in the Kernel API Manual and honestly? it's giving "quiet main character energy." no cap.
πΈ NAME πΈ
struct zpa2326_frequency β the Hardware sampling frequency descriptor, aka the tiny glow-up that tells everybody how fast we're sampling π
π¦ SYNOPSIS π¦
struct zpa2326_frequency {
int hz;
u16 odr;
};
π Members π
bestie, there are literally two of them, and they're both iconic in their own way:
hzβ the Frequency in Hertz. that's the vibe. that's the number. π«Άodrβ the Output Data Rate word, exactly as expected byZPA2326_CTRL_REG3_REG. do NOT come for it with some other format, it knows what it wants π
π₯ SEE ALSO π₯
okay this is the part where the whole squad shows up, so let me introduce everyone π and fr fr, don't skip β they're all in the Kernel file ./drivers/iio/pressure/zpa2326.c:
ZPA2326 theory of operations(9)struct zpa2326_private(9)zpa2326_enable_device(9)zpa2326_sleep(9)zpa2326_reset_device(9)zpa2326_start_oneshot(9)zpa2326_power_on(9)zpa2326_power_off(9)zpa2326_config_oneshot(9)zpa2326_clear_fifo(9)zpa2326_dequeue_pressure(9)zpa2326_fill_sample_buffer(9)zpa2326_resume(9)zpa2326_suspend(9)zpa2326_handle_irq(9)zpa2326_handle_threaded_irq(9)zpa2326_wait_oneshot_completion(9)zpa2326_poll_oneshot_completion(9)zpa2326_fetch_raw_sample(9)zpa2326_sample_oneshot(9)zpa2326_trigger_handler(9)zpa2326_preenable_buffer(9)zpa2326_postenable_buffer(9)zpa2326_set_trigger_state(9)zpa2326_init_managed_trigger(9)
ngl bestie, if you're digging into pressure sensor drivers at 2am, you're built different and i'm obsessed π§π
and that's the whole page, periodt. πβ¨ big kiss to the <pink>Kernel file ./drivers/iio/pressure</pink> crew, and this beauty's dated <purple>October 2026</purple> under the <rainbow>struct zpa2326_frequency(9)</rainbow> title. slay, go sample something ππ
π¦ 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