upm
0.4.1
Sensor/Actuator repository for libmraa (v0.8.0)
|
MCP9808 precision temperature sensor library. More...
Data Structures | |
class | MCP9808 |
API for MCP9808 precision temprature sensor. More... | |
Enumerations | |
enum | MCP9808_REG { UPPER_TEMP = 0x02, LOWER_TEMP = 0x03, CRIT_TEMP = 0x04 } |
uint8_t enum containing register addresses used for setting temp thresholds for MCP9808 | |
enum | MCP9808_RESOLUTION { RES_LOW = 0x00, RES_MEDIUM = 0x01, RES_HIGH = 0x02, RES_PRECISION = 0x03 } |
uint8_t enum containing the four possible values for MCP9808 resolution register. | |
enum | MCP9808_CONFIG { ALERTSTAT = 0x1000, ALERTCTRL = 0x0800, ALERTSEL = 0x0400, ALERTPOL = 0x0200, ALERTMODE = 0x0100, HYST_0 = 0x0000, HYST_1_5 = 0x0002, HYST_3_0 = 0x0004, HYST_6_0 = 0x0006 } |
uint16_t enum containing alert and hysteresis options for config register. | |
![]() |