Data Structures | |
struct | sensor_result_tag |
Typedefs | |
typedef enum sensor_error_tag | sensor_error_t |
typedef struct sensor_result_tag | sensor_result_t |
typedef enum sensor_type_tag | sensor_type_t |
Enumerations | |
enum | sensor_error_tag { SUCCESS, ADC_OVERRUN, DEVICE_ON_FIRE } |
enum | sensor_type_tag { TEMPERATURE, IO_SUPPLY, ANALOG_PIN } |
Functions | |
int8_t | get_sensor_value (sensor_type_t sensor, sensor_result_t *res) |
typedef enum sensor_error_tag sensor_error_t |
typedef struct sensor_result_tag sensor_result_t |
typedef enum sensor_type_tag sensor_type_t |
enum sensor_error_tag |
enum sensor_type_tag |
int8_t get_sensor_value | ( | sensor_type_t | sensor, |
sensor_result_t * | res | ||
) |
References ANALOG_PIN, get_analog_pin(), get_io_supply(), get_temperature(), IO_SUPPLY, ret, and TEMPERATURE.
Referenced by PROCESS_THREAD().