#include "pic_utils.h"
#include "config.h"
Go to the source code of this file.
Defines | |
#define | __sht15_h defined |
Functions | |
void | sht15_boot_up (void) |
uns16 | sht15_fix_humidity_h (uns16 sensor_out) |
uns16 | sht15_fix_humidity_l (uns8 sensor_out) |
int16 | sht15_fix_temperature_h (uns16 sensor_out) |
void | sht15_read (void) |
uns16 | sht15_read_byte16 (void) |
uns16 | sht15_read_humidity (void) |
uns16 | sht15_read_temperature (void) |
void | sht15_send_byte (uns8 sht15_command) |
void | sht15_start (void) |
void sht15_boot_up | ( | void | ) |
uns16 sht15_fix_humidity_l | ( | uns8 | sensor_out | ) |
Definition at line 186 of file sht15.c.
References uns16.
Referenced by sht15_read(), and sht15_read_humidity().
int16 sht15_fix_temperature_h | ( | uns16 | sensor_out | ) |
Definition at line 205 of file sht15.c.
References int16.
Referenced by sht15_read(), and sht15_read_temperature().
void sht15_read | ( | void | ) |
Definition at line 49 of file sht15.c.
References CHECK_HUMD, CHECK_TEMP, sht15_fix_humidity_l(), sht15_fix_temperature_h(), sht15_read_byte16(), sht15_send_byte(), sht15_start(), and uns16.
uns16 sht15_read_byte16 | ( | void | ) |
Definition at line 137 of file sht15.c.
References clear_pin, kill_interrupts, set_pin, sht15_read_sda, test_pin, uns16, and uns8.
Referenced by sht15_read(), sht15_read_humidity(), and sht15_read_temperature().
uns16 sht15_read_humidity | ( | void | ) |
Definition at line 21 of file sht15.c.
References CHECK_HUMD, sht15_fix_humidity_l(), sht15_read_byte16(), sht15_send_byte(), sht15_start(), and uns16.
uns16 sht15_read_temperature | ( | void | ) |
Definition at line 33 of file sht15.c.
References CHECK_TEMP, sht15_fix_temperature_h(), sht15_read_byte16(), sht15_send_byte(), sht15_start(), and uns16.
void sht15_send_byte | ( | uns8 | sht15_command | ) |
Definition at line 77 of file sht15.c.
References change_pin, clear_pin, set_pin, sht15_read_sda, sht15_write_sda, test_pin, and uns8.
Referenced by sht15_read(), sht15_read_humidity(), and sht15_read_temperature().
void sht15_start | ( | void | ) |
Definition at line 123 of file sht15.c.
References clear_pin, set_pin, and sht15_write_sda.
Referenced by sht15_read(), sht15_read_humidity(), and sht15_read_temperature().