ms_sensors_reset(9)
π NAME π
okay so bestie, meet ms_sensors_reset(9) β the Kernel API Manual page for the reset function. Yes, ms_sensors_reset is literally βReset function,β and this page is its main character energy. π
β¨ SYNOPSIS β¨
int ms_sensors_reset (void *cli , u8 cmd , unsigned int delay );
π ARGUMENTS π
cliβ pointer to device client. thatβs your device-client pointer, bestie.cmdβ reset cmd. Depends on device in use. yep, the reset cmd is device-dependent, so keep that in mind.delayβ usleep minimal delay after reset command is issued. itβs the minimalusleepdelay after the reset command goes out.
πΈ DESCRIPTION πΈ
Generic I2C reset function for Measurement Specialties devices. Thatβs the whole plot: itβs the generic I2C reset function for Measurement Specialties devices. no cap, thatβs the vibe. π¦
π RETURN π
0 on success, negative errno otherwise. So success gets a cute 0, and anything else is a negative errno β periodt. π
π SEE ALSO π
go read these too, iykyk:
- Kernel file
./drivers/iio/common/ms_sensors/ms_sensors_i2c.c ms_sensors_read_prom_word(9)ms_sensors_convert_and_read(9)ms_sensors_crc_valid(9)ms_sensors_read_serial(9)ms_sensors_write_resolution(9)ms_sensors_show_battery_low(9)ms_sensors_show_heater(9)ms_sensors_write_heater(9)ms_sensors_ht_read_temperature(9)ms_sensors_ht_read_humidity(9)ms_sensors_tp_crc4(9)ms_sensors_tp_crc_valid_112(9)ms_sensors_tp_crc_valid_128(9)ms_sensors_tp_read_prom(9)ms_sensors_read_temp_and_pressure(9)
made with π from ./drivers/iio/common/ms_sensors, October 2026, for ms_sensors_reset(9) β bye bestie π
π¦ 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