CLEON
Version 1
Cloud-Offloaded GPS Receiver
|
Sensors related functions. More...
#include "cleon_conf.h"
#include "app_define.h"
#include "sys_define.h"
#include "hal_define.h"
#include "fs_define.h"
Go to the source code of this file.
Functions | |
void | SYS_SENSORS_S1087_Init (void) |
Initializing light sensor S1087 (PAR) | |
unsigned int | SYS_SENSORS_S1087_Read (void) |
Read sensor value of S1087 (PAR) | |
void | SYS_SENSORS_S108701_Init (void) |
Initializing light sensor S1087-01 (TSR) | |
unsigned int | SYS_SENSORS_S108701_Read (void) |
Read sensor value of S1087-01 (TSR) | |
void | SYS_SENSORS_Init (void) |
Initializing sensors. | |
void | SYS_SENSORS_SHT11_Init (void) |
Initializing SHT11 (Humidity & Temperature sensor) | |
unsigned int | SYS_SENSORS_SHT11_ReadTemperature (void) |
Read SHT11 temperature. | |
unsigned int | SYS_SENSORS_SHT11_ReadHumidity (void) |
Read SHT11 humidity. | |
void | SYS_SENSORS_SHT11_On (void) |
Turn SHT11 on. | |
void | SYS_SENSORS_SHT11_Off (void) |
Turn SHT11 off. | |
void | SYS_SENSORS_SHT11_Start (void) |
Start SHT11. | |
void | SYS_SENSORS_SHT11_Reset (void) |
Reset SHT11. | |
bool | SYS_SENSORS_SHT11_Write (unsigned char ucCommand) |
Write to SHT11. | |
unsigned char | SYS_SENSORS_SHT11_Read (bool bAckRequested) |
Read from SHT11. | |
unsigned int | SYS_SENSORS_SHT11_Command (unsigned char ucCommand) |
Transmit command to SHT11. | |
Sensors related functions.
Definition in file sys_sensors.c.
void SYS_SENSORS_Init | ( | void | ) |
Initializing sensors.
void |
Definition at line 126 of file sys_sensors.c.
void SYS_SENSORS_S108701_Init | ( | void | ) |
Initializing light sensor S1087-01 (TSR)
void |
Definition at line 73 of file sys_sensors.c.
unsigned int SYS_SENSORS_S108701_Read | ( | void | ) |
Read sensor value of S1087-01 (TSR)
void |
Definition at line 88 of file sys_sensors.c.
void SYS_SENSORS_S1087_Init | ( | void | ) |
Initializing light sensor S1087 (PAR)
void |
Definition at line 24 of file sys_sensors.c.
unsigned int SYS_SENSORS_S1087_Read | ( | void | ) |
Read sensor value of S1087 (PAR)
void |
Definition at line 39 of file sys_sensors.c.
unsigned int SYS_SENSORS_SHT11_Command | ( | unsigned char | ucCommand | ) |
Transmit command to SHT11.
ucCommand | - command to be transmitted |
Definition at line 352 of file sys_sensors.c.
void SYS_SENSORS_SHT11_Init | ( | void | ) |
Initializing SHT11 (Humidity & Temperature sensor)
- SHT11 requires 11ms after power on
void |
Definition at line 142 of file sys_sensors.c.
void SYS_SENSORS_SHT11_Off | ( | void | ) |
Turn SHT11 off.
void |
Definition at line 217 of file sys_sensors.c.
void SYS_SENSORS_SHT11_On | ( | void | ) |
Turn SHT11 on.
void |
Definition at line 200 of file sys_sensors.c.
unsigned char SYS_SENSORS_SHT11_Read | ( | bool | bAckRequested | ) |
Read from SHT11.
ucCommand | - command to be transmitted |
Definition at line 314 of file sys_sensors.c.
unsigned int SYS_SENSORS_SHT11_ReadHumidity | ( | void | ) |
Read SHT11 humidity.
void |
Definition at line 177 of file sys_sensors.c.
unsigned int SYS_SENSORS_SHT11_ReadTemperature | ( | void | ) |
Read SHT11 temperature.
void |
Definition at line 155 of file sys_sensors.c.
void SYS_SENSORS_SHT11_Reset | ( | void | ) |
Reset SHT11.
void |
Definition at line 258 of file sys_sensors.c.
void SYS_SENSORS_SHT11_Start | ( | void | ) |
Start SHT11.
void |
Definition at line 232 of file sys_sensors.c.
bool SYS_SENSORS_SHT11_Write | ( | unsigned char | ucCommand | ) |
Write to SHT11.
ucCommand | - command to be transmitted |
Definition at line 279 of file sys_sensors.c.