STRUCT ST_SENSOR_BDU(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct st_sensor_bdu(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so you're in the kernel API manual and you found struct st_sensor_bdu β€” that's the ST sensor device block data update situation, and honestly? it's tiny but it matters. let's get into it ✨


🌸 NAME 🌸

struct st_sensor_bdu β€” ST sensor device block data update. that's the whole vibe. it's a struct, it's about block data update on ST sensor devices, and it's here to help 🫢


✨ SYNOPSIS ✨

struct st_sensor_bdu {
    u8 addr;
    u8 mask;
 };

two little u8 fields. that's it. iconic minimalism, no notes πŸ’…


πŸ¦‹ Members πŸ¦‹

  • addr β€” the address of the register. like, which register we're talking to. that's the one πŸ“
  • mask β€” the mask you use to write the block data update flag. yes queen, mask it up 🎭

πŸ‘‘ SEE ALSO πŸ‘‘

  • the kernel file ./include/linux/iio/common/st_sensors.h β€” go read it, it's giving main character energy 🌈
  • struct st_sensor_das(9)
  • struct st_sensor_int_drdy(9)
  • struct st_sensor_data_ready_irq(9)
  • struct st_sensor_settings(9)
  • struct st_sensor_data(9)

all the sibling structs, the whole friend group, fr fr πŸ’–


lowkey reminder: addr is the register address and mask is the mask for writing the block data update flag. that's the entire fact set, don't let anyone tell you otherwise ✨

and that's the page bestie!! πŸ¦‹ sign-off time: this one lives over in ./include/linux/iio/common, it's dated October 2026, and it's filed under struct st_sensor_bdu(9). slay, go forth and update your block data πŸ’œπŸŽ€

πŸ“¦ where this page comes from