sensors_module_t Struct Reference

#include <sensors.h>

Data Fields

struct hw_module_t common
int(* get_sensors_list )(struct sensors_module_t *module, struct sensor_t const **list)

Detailed Description

Every hardware module must have a data structure named HAL_MODULE_INFO_SYM and the fields of this data structure must begin with hw_module_t followed by module specific information.

Definition at line 785 of file sensors.h.

Field Documentation

struct hw_module_t common

Definition at line 786 of file sensors.h.

int(* get_sensors_list)(struct sensors_module_t *module, struct sensor_t const **list)

Enumerate all available sensors. The list is returned in "list".

number of sensors in the list

Definition at line 792 of file sensors.h.

The documentation for this struct was generated from the following file: