Macros | |
#define | FLAG_CHANGED 0x80 |
Functions | |
static int | get_sensor_index (const struct sensors_sensor *s) |
PROCESS (sensors_process,"Sensors") | |
PROCESS_THREAD (sensors_process, ev, data) | |
void | sensors_changed (const struct sensors_sensor *s) |
struct sensors_sensor * | sensors_find (const char *prefix) |
struct sensors_sensor * | sensors_first (void) |
struct sensors_sensor * | sensors_next (const struct sensors_sensor *s) |
Variables | |
static unsigned char | num_sensors |
const struct sensors_sensor * | sensors [] |
process_event_t | sensors_event |
unsigned char | sensors_flags [] |
#define FLAG_CHANGED 0x80 |
Referenced by PROCESS_THREAD(), and sensors_changed().
|
static |
References i, and num_sensors.
Referenced by sensors_changed(), and sensors_next().
PROCESS | ( | sensors_process | , |
"Sensors" | |||
) |
PROCESS_THREAD | ( | sensors_process | , |
ev | , | ||
data | |||
) |
void sensors_changed | ( | const struct sensors_sensor * | s | ) |
References FLAG_CHANGED, get_sensor_index(), process_poll(), and sensors_flags.
Referenced by extint_detection_callback().
struct sensors_sensor* sensors_find | ( | const char * | prefix | ) |
References i, len, NULL, num_sensors, and sensors_sensor::type.
Referenced by PROCESS_THREAD().
struct sensors_sensor* sensors_first | ( | void | ) |
struct sensors_sensor* sensors_next | ( | const struct sensors_sensor * | s | ) |
References get_sensor_index().
|
static |
Referenced by get_sensor_index(), PROCESS_THREAD(), and sensors_find().
const struct sensors_sensor* sensors[] |
process_event_t sensors_event |
Referenced by PROCESS_THREAD().
unsigned char sensors_flags[] |
Referenced by PROCESS_THREAD(), and sensors_changed().