#include <pwrCtrl.h>
#include <lm73.h>
#include <tsl2550.h>
#include <battery.h>
Go to the source code of this file.
Functions | |
static result_t | BSP_OpenTemperatureSensor () |
Opens temperature sensor. | |
static result_t | BSP_CloseTemperatureSensor () |
Closes the temperature sensor. | |
static result_t | BSP_ReadTemperatureData (void(*f)(bool result, int16_t data)) |
Reads data from the temperature sensor. | |
static result_t | BSP_OpenLightSensor () |
Opens the light sensor. | |
static result_t | BSP_CloseLightSensor () |
Closes the light sensor. | |
static result_t | BSP_ReadLightData (void(*f)(bool result, int16_t data)) |
Reads data from the light sensor. | |
static result_t | BSP_OpenBatterySensor () |
Opens the battery sensor. | |
static result_t | BSP_CloseBatterySensor () |
Closes the battery sensor. | |
static result_t | BSP_ReadBatteryData (void(*callback)(uint8_t data)) |
Reads data from battery sensor. |
Definition in file sensors.h.
static result_t BSP_CloseBatterySensor | ( | ) | [inline, static] |
static result_t BSP_CloseLightSensor | ( | ) | [inline, static] |
static result_t BSP_CloseTemperatureSensor | ( | ) | [inline, static] |
static result_t BSP_OpenBatterySensor | ( | ) | [inline, static] |
static result_t BSP_OpenLightSensor | ( | ) | [inline, static] |
static result_t BSP_OpenTemperatureSensor | ( | ) | [inline, static] |
static result_t BSP_ReadBatteryData | ( | void(*)(uint8_t data) | callback | ) | [inline, static] |
static result_t BSP_ReadLightData | ( | void(*)(bool result, int16_t data) | f | ) | [inline, static] |
Reads data from the light sensor.
[in] | result | - the result of the requested operation. true - operation finished successfully, false - some error has occured. |
[in] | data | - sensor data. |
static result_t BSP_ReadTemperatureData | ( | void(*)(bool result, int16_t data) | f | ) | [inline, static] |
Reads data from the temperature sensor.
[in] | result | - the result of the requested operation. true - operation finished successfully, false - some error has occured. |
[in] | data | - sensor data. |