ssp_get_sensor_delay(9)
π ssp_get_sensor_delay(9) π
okay so bestie, welcome to the Kernel API Manual β well, one page of it β and today's main character is ssp_get_sensor_delay, a little function that literally just tells you how long your sensor waits between vibe checks. yes. that's it. it's giving "small but essential." π
β¨ NAME β¨
ssp_get_sensor_delay β gets sensor data acquisition period π«Ά
πΈ SYNOPSIS πΈ
u32 ssp_get_sensor_delay (struct ssp_data *data , enum ssp_sensor_type
type );
so the whole thing returns a u32, takes two args, and honestly? it's slay. it's lowkey unbothered and highkey useful. π
π¦ ARGUMENTS π¦
dataβ the sensorhub structure π like, this is your whole sensor situation in one struct, bestie. it's the main character.typeβ the SSP sensor type π which sensor are we talking about? you gotta tell it, it's not a mind reader. (the way that it needs this... iconic.)
π« DESCRIPTION π«
Returns acquisition period in ms β±οΈβ¨
that's it, that's the function. it hands you back a number β the acquisition period β and the unit is ms (milliseconds, bestie, milliseconds). no cap. it returns it, it doesn't set it, it doesn't change it, it returns it. know the difference. π
π₯ SEE ALSO π₯
- Kernel file
./drivers/iio/common/ssp_sensors/ssp_dev.cβ like, the actual source. go read it, iykwim π ssp_enable_sensor(9)β turn it on, slayssp_change_delay(9)β change the delay, the sister function of this one fr frssp_disable_sensor(9)β turn it off, nap time πssp_register_consumer(9)β register a consumer, very responsible of it
okay that's the whole page bestie, go forth and read your sensor delays πΈ and don't forget: this little gem lives in ./drivers/iio/common/ssp_sensors, and this page is dated October 2026. π§π
mwah π β see u in the next manpage πβ
π¦ 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