EZR32 Wonder Gecko Software Documentation  ezr32wg-doc-5.1.2

Detailed Description

Si7021 command macro definitions.

Macros

#define SI7021_CMD_MEASURE_RH   0xE5
 
#define SI7021_CMD_MEASURE_RH_NO_HOLD   0xF5
 
#define SI7021_CMD_MEASURE_TEMP   0xE3
 
#define SI7021_CMD_MEASURE_TEMP_NO_HOLD   0xF3
 
#define SI7021_CMD_READ_FW_REV   {0x84, 0xB8}
 
#define SI7021_CMD_READ_HEATER_CTRL   0x11
 
#define SI7021_CMD_READ_ID_BYTE1   {0xFA, 0x0F}
 
#define SI7021_CMD_READ_ID_BYTE2   {0xFC, 0xC9}
 
#define SI7021_CMD_READ_TEMP   0xE0
 
#define SI7021_CMD_READ_USER_REG1   0xE7
 
#define SI7021_CMD_RESET   0xFE
 
#define SI7021_CMD_WRITE_HEATER_CTRL   0x51
 
#define SI7021_CMD_WRITE_USER_REG1   0xE6
 

Macro Definition Documentation

#define SI7021_CMD_MEASURE_RH   0xE5

Measure Relative Humidity, Hold Master Mode

Definition at line 72 of file si7021.h.

#define SI7021_CMD_MEASURE_RH_NO_HOLD   0xF5

Measure Relative Humidity, No Hold Master Mode

Definition at line 73 of file si7021.h.

Referenced by SI7021_measure().

#define SI7021_CMD_MEASURE_TEMP   0xE3

Measure Temperature, Hold Master Mode

Definition at line 74 of file si7021.h.

#define SI7021_CMD_MEASURE_TEMP_NO_HOLD   0xF3

Measure Temperature, No Hold Master Mode

Definition at line 75 of file si7021.h.

#define SI7021_CMD_READ_FW_REV   {0x84, 0xB8}

Read Firmware Revision

Definition at line 84 of file si7021.h.

Referenced by SI7021_getFwRev().

#define SI7021_CMD_READ_HEATER_CTRL   0x11

Read Heater Control Register

Definition at line 81 of file si7021.h.

#define SI7021_CMD_READ_ID_BYTE1   {0xFA, 0x0F}

Read Electronic ID 1st Byte

Definition at line 82 of file si7021.h.

#define SI7021_CMD_READ_ID_BYTE2   {0xFC, 0xC9}

Read Electronic ID 2nd Byte

Definition at line 83 of file si7021.h.

Referenced by SI7021_init().

#define SI7021_CMD_READ_TEMP   0xE0

Read Temperature Value from Previous RH Measurement

Definition at line 76 of file si7021.h.

Referenced by SI7021_measure().

#define SI7021_CMD_READ_USER_REG1   0xE7

Read RH/T User Register 1

Definition at line 79 of file si7021.h.

#define SI7021_CMD_RESET   0xFE

Reset

Definition at line 77 of file si7021.h.

#define SI7021_CMD_WRITE_HEATER_CTRL   0x51

Write Heater Control Register

Definition at line 80 of file si7021.h.

Referenced by measureSupplyIR().

#define SI7021_CMD_WRITE_USER_REG1   0xE6

Write RH/T User Register 1

Definition at line 78 of file si7021.h.

Referenced by measureSupplyIR().