NXC
Version 1.2.1 r5
|
Constants for use with the LEGO temperature sensor. More...
Macros | |
#define | TEMP_RES_9BIT 0x00 |
#define | TEMP_RES_10BIT 0x20 |
#define | TEMP_RES_11BIT 0x40 |
#define | TEMP_RES_12BIT 0x60 |
#define | TEMP_SD_CONTINUOUS 0x00 |
#define | TEMP_SD_SHUTDOWN 0x01 |
#define | TEMP_TM_COMPARATOR 0x00 |
#define | TEMP_TM_INTERRUPT 0x02 |
#define | TEMP_OS_ONESHOT 0x80 |
#define | TEMP_FQ_1 0x00 |
#define | TEMP_FQ_2 0x08 |
#define | TEMP_FQ_4 0x10 |
#define | TEMP_FQ_6 0x18 |
#define | TEMP_POL_LOW 0x00 |
#define | TEMP_POL_HIGH 0x04 |
#define | TEMP_REG_TEMP 0x00 |
#define | TEMP_REG_CONFIG 0x01 |
#define | TEMP_REG_TLOW 0x02 |
#define | TEMP_REG_THIGH 0x03 |
Constants for use with the LEGO temperature sensor.