EFR32 Blue Gecko 1 Software Documentation  efr32bg1-doc-5.1.2

Detailed Description

Si7021 configuration setting macro definitions.

Macros

#define SI7021_CONFIG_DEVICE_ID   0x21
 
#define SI7021_CONFIG_I2C_BUS_ADDRESS   0x40
 
#define SI7021_CONFIG_I2C_DEVICE   (I2C0)
 
#define SI7021_DEVICE_ID   SI7021_CONFIG_DEVICE_ID
 
#define SI7021_I2C_BUS_ADDRESS   SI7021_CONFIG_I2C_BUS_ADDRESS
 
#define SI7021_I2C_DEVICE   SI7021_CONFIG_I2C_DEVICE
 

Macro Definition Documentation

#define SI7021_CONFIG_DEVICE_ID   0x21

Default device ID of the Si7021

Definition at line 43 of file si7021.h.

#define SI7021_CONFIG_I2C_BUS_ADDRESS   0x40

Default I2C bus address of the Si7021

Definition at line 39 of file si7021.h.

#define SI7021_CONFIG_I2C_DEVICE   (I2C0)

Default I2C device

Definition at line 35 of file si7021.h.

#define SI7021_DEVICE_ID   SI7021_CONFIG_DEVICE_ID

Si7021 device ID

Definition at line 48 of file si7021.h.

Referenced by SI7021_init().

#define SI7021_I2C_BUS_ADDRESS   SI7021_CONFIG_I2C_BUS_ADDRESS

I2C bus address

Definition at line 47 of file si7021.h.

Referenced by SI7021_cmdRead(), and SI7021_cmdWrite().

#define SI7021_I2C_DEVICE   SI7021_CONFIG_I2C_DEVICE

I2C device used to control the Si7021

Definition at line 46 of file si7021.h.

Referenced by SI7021_cmdRead(), and SI7021_cmdWrite().