STRUCT ST_SENSOR_INT_DRDY(9)
π NAME π
struct st_sensor_int_drdy β ST sensor device drdy line parameters
Ok so bestie, welcome to the struct st_sensor_int_drdy(9) page from the Kernel API Manual. This struct is literally the little group chat for your ST sensor's drdy line parameters, and we're about to read it top to bottom. No cap. π«Ά
β¨ SYNOPSIS β¨
struct st_sensor_int_drdy {
u8 addr;
u8 mask;
u8 addr_od;
u8 mask_od;
};
πΈ Members πΈ
addrβ address of INT drdy register. That's the address, bestie. It's giving "where the register lives" energy. πmaskβ mask to enable drdy line. This is the mask that gets the drdy line enabled. Slay. βaddr_odβ address to enable/disable Open Drain on the INT line. So this is the address for toggling Open Drain on the INT line. πmask_odβ mask to enable/disable Open Drain on the INT line. And this is the corresponding mask for toggling Open Drain on the INT line. π
π¦ SEE ALSO π¦
Go read these too, iykyk:
- Kernel file
./include/linux/iio/common/st_sensors.h struct st_sensor_bdu(9)struct st_sensor_das(9)struct st_sensor_data_ready_irq(9)struct st_sensor_settings(9)struct st_sensor_data(9)
This iconic page is chillin' under ./include/linux/iio/common, dated October 2026, and yes, it's still struct st_sensor_int_drdy(9) energy. 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