EFM32 Leopard Gecko Software Documentation  efm32lg-doc-5.1.2

Detailed Description

Si1133 I2C register macro definitions.

Macros

#define SI1133_REG_COMMAND   0x0B
 
#define SI1133_REG_HOSTIN0   0x0A
 
#define SI1133_REG_HOSTOUT0   0x13
 
#define SI1133_REG_HOSTOUT1   0x14
 
#define SI1133_REG_HOSTOUT10   0x1D
 
#define SI1133_REG_HOSTOUT11   0x1E
 
#define SI1133_REG_HOSTOUT12   0x1F
 
#define SI1133_REG_HOSTOUT13   0x20
 
#define SI1133_REG_HOSTOUT14   0x21
 
#define SI1133_REG_HOSTOUT15   0x22
 
#define SI1133_REG_HOSTOUT16   0x23
 
#define SI1133_REG_HOSTOUT17   0x24
 
#define SI1133_REG_HOSTOUT18   0x25
 
#define SI1133_REG_HOSTOUT19   0x26
 
#define SI1133_REG_HOSTOUT2   0x15
 
#define SI1133_REG_HOSTOUT20   0x27
 
#define SI1133_REG_HOSTOUT21   0x28
 
#define SI1133_REG_HOSTOUT22   0x29
 
#define SI1133_REG_HOSTOUT23   0x2A
 
#define SI1133_REG_HOSTOUT24   0x2B
 
#define SI1133_REG_HOSTOUT25   0x2C
 
#define SI1133_REG_HOSTOUT3   0x16
 
#define SI1133_REG_HOSTOUT4   0x17
 
#define SI1133_REG_HOSTOUT5   0x18
 
#define SI1133_REG_HOSTOUT6   0x19
 
#define SI1133_REG_HOSTOUT7   0x1A
 
#define SI1133_REG_HOSTOUT8   0x1B
 
#define SI1133_REG_HOSTOUT9   0x1C
 
#define SI1133_REG_HW_ID   0x01
 
#define SI1133_REG_IRQ_ENABLE   0x0F
 
#define SI1133_REG_IRQ_STATUS   0x12
 
#define SI1133_REG_PART_ID   0x00
 
#define SI1133_REG_RESPONSE0   0x11
 
#define SI1133_REG_RESPONSE1   0x10
 
#define SI1133_REG_REV_ID   0x02
 

Macro Definition Documentation

#define SI1133_REG_COMMAND   0x0B

Initiated action in Sensor when specific codes written here

Definition at line 130 of file si1133.h.

Referenced by SI1133_reset(), and SI1133_sendCmd().

#define SI1133_REG_HOSTIN0   0x0A

Data for parameter table on PARAM_SET write to COMMAND register

Definition at line 129 of file si1133.h.

Referenced by SI1133_paramSet().

#define SI1133_REG_HOSTOUT0   0x13

Captured Sensor Data

Definition at line 135 of file si1133.h.

#define SI1133_REG_HOSTOUT1   0x14

Captured Sensor Data

Definition at line 136 of file si1133.h.

#define SI1133_REG_HOSTOUT10   0x1D

Captured Sensor Data

Definition at line 145 of file si1133.h.

#define SI1133_REG_HOSTOUT11   0x1E

Captured Sensor Data

Definition at line 146 of file si1133.h.

#define SI1133_REG_HOSTOUT12   0x1F

Captured Sensor Data

Definition at line 147 of file si1133.h.

#define SI1133_REG_HOSTOUT13   0x20

Captured Sensor Data

Definition at line 148 of file si1133.h.

#define SI1133_REG_HOSTOUT14   0x21

Captured Sensor Data

Definition at line 149 of file si1133.h.

#define SI1133_REG_HOSTOUT15   0x22

Captured Sensor Data

Definition at line 150 of file si1133.h.

#define SI1133_REG_HOSTOUT16   0x23

Captured Sensor Data

Definition at line 151 of file si1133.h.

#define SI1133_REG_HOSTOUT17   0x24

Captured Sensor Data

Definition at line 152 of file si1133.h.

#define SI1133_REG_HOSTOUT18   0x25

Captured Sensor Data

Definition at line 153 of file si1133.h.

#define SI1133_REG_HOSTOUT19   0x26

Captured Sensor Data

Definition at line 154 of file si1133.h.

#define SI1133_REG_HOSTOUT2   0x15

Captured Sensor Data

Definition at line 137 of file si1133.h.

#define SI1133_REG_HOSTOUT20   0x27

Captured Sensor Data

Definition at line 155 of file si1133.h.

#define SI1133_REG_HOSTOUT21   0x28

Captured Sensor Data

Definition at line 156 of file si1133.h.

#define SI1133_REG_HOSTOUT22   0x29

Captured Sensor Data

Definition at line 157 of file si1133.h.

#define SI1133_REG_HOSTOUT23   0x2A

Captured Sensor Data

Definition at line 158 of file si1133.h.

#define SI1133_REG_HOSTOUT24   0x2B

Captured Sensor Data

Definition at line 159 of file si1133.h.

#define SI1133_REG_HOSTOUT25   0x2C

Captured Sensor Data

Definition at line 160 of file si1133.h.

#define SI1133_REG_HOSTOUT3   0x16

Captured Sensor Data

Definition at line 138 of file si1133.h.

#define SI1133_REG_HOSTOUT4   0x17

Captured Sensor Data

Definition at line 139 of file si1133.h.

#define SI1133_REG_HOSTOUT5   0x18

Captured Sensor Data

Definition at line 140 of file si1133.h.

#define SI1133_REG_HOSTOUT6   0x19

Captured Sensor Data

Definition at line 141 of file si1133.h.

#define SI1133_REG_HOSTOUT7   0x1A

Captured Sensor Data

Definition at line 142 of file si1133.h.

#define SI1133_REG_HOSTOUT8   0x1B

Captured Sensor Data

Definition at line 143 of file si1133.h.

#define SI1133_REG_HOSTOUT9   0x1C

Captured Sensor Data

Definition at line 144 of file si1133.h.

#define SI1133_REG_HW_ID   0x01

Hardware ID

Definition at line 127 of file si1133.h.

#define SI1133_REG_IRQ_ENABLE   0x0F

Interrupt enable

Definition at line 131 of file si1133.h.

Referenced by SI1133_init().

#define SI1133_REG_IRQ_STATUS   0x12

Interrupt status

Definition at line 134 of file si1133.h.

Referenced by SI1133_getIrqStatus(), SI1133_measureLuxUvi(), and SI1133_measurementGet().

#define SI1133_REG_PART_ID   0x00

Part ID

Definition at line 126 of file si1133.h.

Referenced by SI1133_getHardwareID().

#define SI1133_REG_RESPONSE0   0x11

Chip state and error status

Definition at line 133 of file si1133.h.

Referenced by SI1133_paramSet(), SI1133_sendCmd(), and SI1133_waitUntilSleep().

#define SI1133_REG_RESPONSE1   0x10

Contains the readback value from a param query or a param set command

Definition at line 132 of file si1133.h.

Referenced by SI1133_paramRead().

#define SI1133_REG_REV_ID   0x02

Hardware revision

Definition at line 128 of file si1133.h.