mikrosdk interface
More...
#include <stdint.h>
Go to the source code of this file.
◆ MIKROSDK_THERMO3_CONFIG
#define MIKROSDK_THERMO3_CONFIG |
Value:
#define MIKROSDK_THERMO3_CONFIG_TMMODE
Definition: thermo3_click.h:60
#define MIKROSDK_THERMO3_CONFIG_SHUTDOWN
Definition: thermo3_click.h:59
#define MIKROSDK_THERMO3_CONFIG_ONESHOT
Definition: thermo3_click.h:61
#define MIKROSDK_THERMO3_DEFAULT_CONFIG_1
Definition: thermo3_click.h:66
#define MIKROSDK_THERMO3_DEFAULT_CONFIG_0
Definition: thermo3_click.h:64
◆ MIKROSDK_THERMO3_CONFIG_ONESHOT
#define MIKROSDK_THERMO3_CONFIG_ONESHOT 0x80 |
◆ MIKROSDK_THERMO3_CONFIG_SHUTDOWN
#define MIKROSDK_THERMO3_CONFIG_SHUTDOWN 0x01 |
◆ MIKROSDK_THERMO3_CONFIG_TMMODE
#define MIKROSDK_THERMO3_CONFIG_TMMODE 0x02 |
◆ MIKROSDK_THERMO3_DEFAULT_CONFIG_0
#define MIKROSDK_THERMO3_DEFAULT_CONFIG_0 0x60 |
◆ MIKROSDK_THERMO3_DEFAULT_CONFIG_1
#define MIKROSDK_THERMO3_DEFAULT_CONFIG_1 0xA0 |
◆ MIKROSDK_THERMO3_REGADD_CONFIG
#define MIKROSDK_THERMO3_REGADD_CONFIG 0x01 |
◆ MIKROSDK_THERMO3_REGADD_TEMP
#define MIKROSDK_THERMO3_REGADD_TEMP 0x00 |
◆ MIKROSDK_THERMO3_REGADD_THIGH
#define MIKROSDK_THERMO3_REGADD_THIGH 0x03 |
◆ MIKROSDK_THERMO3_REGADD_TLOW
#define MIKROSDK_THERMO3_REGADD_TLOW 0x02 |
◆ MIKROSDK_THERMO3_TEMP_LIMIT_HIGH
#define MIKROSDK_THERMO3_TEMP_LIMIT_HIGH 0x01C8 /* +28.5000 'C */ |
◆ MIKROSDK_THERMO3_TEMP_LIMIT_LOW
#define MIKROSDK_THERMO3_TEMP_LIMIT_LOW 0x01B0 /* +27.0000 'C */ |
◆ THERMO3_T_POWERUP
#define THERMO3_T_POWERUP 35 /* tmp102 35 ms power-up (conversion time max) */ |
◆ THERMO3_USE_INTERRUPT
#define THERMO3_USE_INTERRUPT 0 |
◆ TMP102_ADDLEN
◆ TMP102_I2C_ADDR
#define TMP102_I2C_ADDR 0x48 |
◆ TMP102_REGLEN
◆ thermo3_alarm_state
Enumerator |
---|
THERMO3_ALARM_TRIGGERED | |
THERMO3_ALARM_CLEARED | |
◆ thermo3_status
Enumerator |
---|
THERMO3_ST_OK | |
THERMO3_ST_ALARM_CLEARED | |
THERMO3_ST_ALARM_TRIGGERED | |
THERMO3_ST_FAIL | |
◆ MIKROSDK_THERMO3_Acquire()
uint8_t MIKROSDK_THERMO3_Acquire |
( |
uint16_t * |
temperature | ) |
|
◆ MIKROSDK_THERMO3_alarm_triggered()
uint8_t MIKROSDK_THERMO3_alarm_triggered |
( |
void |
| ) |
|
◆ MIKROSDK_THERMO3_get_alarm()
uint8_t MIKROSDK_THERMO3_get_alarm |
( |
void |
| ) |
|
◆ MIKROSDK_THERMO3_get_config()
uint8_t MIKROSDK_THERMO3_get_config |
( |
uint16_t * |
configuration | ) |
|
◆ MIKROSDK_THERMO3_get_temperature()
uint8_t MIKROSDK_THERMO3_get_temperature |
( |
uint16_t * |
temperature | ) |
|
◆ MIKROSDK_THERMO3_get_temperature_limits()
uint8_t MIKROSDK_THERMO3_get_temperature_limits |
( |
uint16_t * |
temp_limit_low, |
|
|
uint16_t * |
temp_limit_high |
|
) |
| |
◆ MIKROSDK_THERMO3_Initialise()
uint8_t MIKROSDK_THERMO3_Initialise |
( |
void |
| ) |
|
◆ MIKROSDK_THERMO3_pin_mapping()
void MIKROSDK_THERMO3_pin_mapping |
( |
uint8_t |
alarm | ) |
|
◆ MIKROSDK_THERMO3_Reinitialise()
uint8_t MIKROSDK_THERMO3_Reinitialise |
( |
void |
| ) |
|
◆ MIKROSDK_THERMO3_set_config()
uint8_t MIKROSDK_THERMO3_set_config |
( |
uint16_t |
config | ) |
|
◆ MIKROSDK_THERMO3_set_temperature_limits()
uint8_t MIKROSDK_THERMO3_set_temperature_limits |
( |
uint16_t |
temp_limit_low, |
|
|
uint16_t |
temp_limit_high |
|
) |
| |