|
PebbleOS
|
Temperature sensor driver operations, called with the device lock held. More...
#include <temperature.h>
Data Fields | |
| int(* | init )(const struct pbl_temp *temp) |
| Optional. | |
| int(* | read )(const struct pbl_temp *temp, int32_t *millicelsius) |
| Read the temperature, in millidegrees Celsius. | |
Temperature sensor driver operations, called with the device lock held.
| int(* pbl_temp_ops::init) (const struct pbl_temp *temp) |
Optional.
Bring the hardware up.
| int(* pbl_temp_ops::read) (const struct pbl_temp *temp, int32_t *millicelsius) |
Read the temperature, in millidegrees Celsius.