![]() |
LibDriver DS18B20
|
ds18b20 example driver modules More...
Macros | |
| #define | DS18B20_BASIC_DEFAULT_RESOLUTION DS18B20_RESOLUTION_12BIT |
| ds18b20 basic example default definition | |
Functions | |
| uint8_t | ds18b20_alarm_init (void) |
| alarm example init | |
| uint8_t | ds18b20_alarm_deinit (void) |
| alarm example deinit | |
| uint8_t | ds18b20_alarm_set_threshold (uint8_t rom[8], float low, float high) |
| alarm example set the threshold | |
| uint8_t | ds18b20_alarm_get_threshold (uint8_t rom[8], float *low, float *high) |
| alarm example get the threshold | |
| uint8_t | ds18b20_alarm_search (uint8_t(*rom)[8], uint8_t *num) |
| alarm example find | |
| uint8_t | ds18b20_basic_init (void) |
| basic example init | |
| uint8_t | ds18b20_basic_read (float *temperature) |
| basic example read | |
| uint8_t | ds18b20_basic_deinit (void) |
| basic example deinit | |
| uint8_t | ds18b20_match_init (void) |
| match example init | |
| uint8_t | ds18b20_match_deinit (void) |
| match example deinit | |
| uint8_t | ds18b20_match_read (uint8_t rom[8], float *temperature) |
| match example read | |
| uint8_t | ds18b20_search_init (void) |
| search example init | |
| uint8_t | ds18b20_search (uint8_t(*rom)[8], uint8_t *num) |
| search example find | |
| uint8_t | ds18b20_search_deinit (void) |
| search example deinit | |
ds18b20 example driver modules
| #define DS18B20_BASIC_DEFAULT_RESOLUTION DS18B20_RESOLUTION_12BIT |
ds18b20 basic example default definition
resolution 12bit
Definition at line 57 of file driver_ds18b20_basic.h.
| uint8_t ds18b20_alarm_deinit | ( | void | ) |
alarm example deinit
Definition at line 210 of file driver_ds18b20_alarm.c.
| uint8_t ds18b20_alarm_get_threshold | ( | uint8_t | rom[8], |
| float * | low, | ||
| float * | high ) |
alarm example get the threshold
| [in] | *rom | pointer to a rom buffer |
| [out] | *low | pointer to a low threshold |
| [out] | *high | pointer to a high threshold |
Definition at line 144 of file driver_ds18b20_alarm.c.
| uint8_t ds18b20_alarm_init | ( | void | ) |
alarm example init
Definition at line 49 of file driver_ds18b20_alarm.c.
| uint8_t ds18b20_alarm_search | ( | uint8_t(*) | rom[8], |
| uint8_t * | num ) |
alarm example find
| [in] | *rom | pointer to a rom buffer |
| [in,out] | *num | pointer to a number buffer |
Definition at line 190 of file driver_ds18b20_alarm.c.
| uint8_t ds18b20_alarm_set_threshold | ( | uint8_t | rom[8], |
| float | low, | ||
| float | high ) |
alarm example set the threshold
| [in] | *rom | pointer to a rom buffer |
| [in] | low | low threshold |
| [in] | high | high threshold |
Definition at line 97 of file driver_ds18b20_alarm.c.
| uint8_t ds18b20_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 127 of file driver_ds18b20_basic.c.
| uint8_t ds18b20_basic_init | ( | void | ) |
basic example init
Definition at line 49 of file driver_ds18b20_basic.c.
| uint8_t ds18b20_basic_read | ( | float * | temperature | ) |
basic example read
| [out] | *temperature | pointer to a converted temperature buffer |
Definition at line 105 of file driver_ds18b20_basic.c.
| uint8_t ds18b20_match_deinit | ( | void | ) |
match example deinit
Definition at line 126 of file driver_ds18b20_match.c.
| uint8_t ds18b20_match_init | ( | void | ) |
match example init
Definition at line 49 of file driver_ds18b20_match.c.
| uint8_t ds18b20_match_read | ( | uint8_t | rom[8], |
| float * | temperature ) |
match example read
| [in] | *rom | pointer to a rom buffer |
| [out] | *temperature | pointer to a converted temperature buffer |
Definition at line 96 of file driver_ds18b20_match.c.
| uint8_t ds18b20_search | ( | uint8_t(*) | rom[8], |
| uint8_t * | num ) |
search example find
| [in] | *rom | pointer to a rom buffer |
| [in,out] | *num | pointer to a number buffer |
Definition at line 86 of file driver_ds18b20_search.c.
| uint8_t ds18b20_search_deinit | ( | void | ) |
search example deinit
Definition at line 106 of file driver_ds18b20_search.c.
| uint8_t ds18b20_search_init | ( | void | ) |
search example init
Definition at line 49 of file driver_ds18b20_search.c.