Loading...
Searching...
No Matches
isl29125-internal.h File Reference

Definitions for the ISL29125 RGB light sensor. More...

Detailed Description

Definitions for the ISL29125 RGB light sensor.

Author
Ludwig Knüpfer ludwi.nosp@m.g.kn.nosp@m.uepfe.nosp@m.r@fu.nosp@m.-berl.nosp@m.in.d.nosp@m.e

Definition in file isl29125-internal.h.

Go to the source code of this file.

#define ISL29125_I2C_ADDRESS   0x44
 The sensors hard coded I2C address.
 

ISL29125 constants

#define ISL29125_ID   0x7D
 

ISL29125 register map

#define ISL29125_REG_ID   0x00
 
#define ISL29125_REG_RESET   0x00
 
#define ISL29125_REG_CONF1   0x01
 
#define ISL29125_REG_CONF2   0x02
 
#define ISL29125_REG_CONF3   0x03
 
#define ISL29125_REG_LTHLB   0x04
 
#define ISL29125_REG_LTHHB   0x05
 
#define ISL29125_REG_HTHLB   0x06
 
#define ISL29125_REG_HTHHB   0x07
 
#define ISL29125_REG_STATUS   0x08
 
#define ISL29125_REG_GDLB   0x09
 
#define ISL29125_REG_GDHB   0x0A
 
#define ISL29125_REG_RDLB   0x0B
 
#define ISL29125_REG_RDHB   0x0C
 
#define ISL29125_REG_BDLB   0x0D
 
#define ISL29125_REG_BDHB   0x0E
 

ISL29125 commands

#define ISL29125_CMD_RESET   0x46
 

ISL29125 configuration masks and bits

#define ISL29125_CON1_MASK_MODE   0x07
 
#define ISL29125_CON1_MASK_RANGE   0x08
 
#define ISL29125_CON1_MASK_RES   0x10
 
#define ISL29125_CON1_MASK_SYNC   0x20
 
#define ISL29125_CON1_SYNCOFF   0x00
 
#define ISL29125_CON1_SYNCON   0x20
 

Macro Definition Documentation

◆ ISL29125_CMD_RESET

#define ISL29125_CMD_RESET   0x46

Definition at line 69 of file isl29125-internal.h.

◆ ISL29125_CON1_MASK_MODE

#define ISL29125_CON1_MASK_MODE   0x07

Definition at line 77 of file isl29125-internal.h.

◆ ISL29125_CON1_MASK_RANGE

#define ISL29125_CON1_MASK_RANGE   0x08

Definition at line 79 of file isl29125-internal.h.

◆ ISL29125_CON1_MASK_RES

#define ISL29125_CON1_MASK_RES   0x10

Definition at line 81 of file isl29125-internal.h.

◆ ISL29125_CON1_MASK_SYNC

#define ISL29125_CON1_MASK_SYNC   0x20

Definition at line 83 of file isl29125-internal.h.

◆ ISL29125_CON1_SYNCOFF

#define ISL29125_CON1_SYNCOFF   0x00

Definition at line 84 of file isl29125-internal.h.

◆ ISL29125_CON1_SYNCON

#define ISL29125_CON1_SYNCON   0x20

Definition at line 85 of file isl29125-internal.h.

◆ ISL29125_I2C_ADDRESS

#define ISL29125_I2C_ADDRESS   0x44

The sensors hard coded I2C address.

Definition at line 29 of file isl29125-internal.h.

◆ ISL29125_ID

#define ISL29125_ID   0x7D

Definition at line 35 of file isl29125-internal.h.

◆ ISL29125_REG_BDHB

#define ISL29125_REG_BDHB   0x0E

Definition at line 62 of file isl29125-internal.h.

◆ ISL29125_REG_BDLB

#define ISL29125_REG_BDLB   0x0D

Definition at line 61 of file isl29125-internal.h.

◆ ISL29125_REG_CONF1

#define ISL29125_REG_CONF1   0x01

Definition at line 46 of file isl29125-internal.h.

◆ ISL29125_REG_CONF2

#define ISL29125_REG_CONF2   0x02

Definition at line 47 of file isl29125-internal.h.

◆ ISL29125_REG_CONF3

#define ISL29125_REG_CONF3   0x03

Definition at line 48 of file isl29125-internal.h.

◆ ISL29125_REG_GDHB

#define ISL29125_REG_GDHB   0x0A

Definition at line 58 of file isl29125-internal.h.

◆ ISL29125_REG_GDLB

#define ISL29125_REG_GDLB   0x09

Definition at line 57 of file isl29125-internal.h.

◆ ISL29125_REG_HTHHB

#define ISL29125_REG_HTHHB   0x07

Definition at line 53 of file isl29125-internal.h.

◆ ISL29125_REG_HTHLB

#define ISL29125_REG_HTHLB   0x06

Definition at line 52 of file isl29125-internal.h.

◆ ISL29125_REG_ID

#define ISL29125_REG_ID   0x00

Definition at line 43 of file isl29125-internal.h.

◆ ISL29125_REG_LTHHB

#define ISL29125_REG_LTHHB   0x05

Definition at line 51 of file isl29125-internal.h.

◆ ISL29125_REG_LTHLB

#define ISL29125_REG_LTHLB   0x04

Definition at line 50 of file isl29125-internal.h.

◆ ISL29125_REG_RDHB

#define ISL29125_REG_RDHB   0x0C

Definition at line 60 of file isl29125-internal.h.

◆ ISL29125_REG_RDLB

#define ISL29125_REG_RDLB   0x0B

Definition at line 59 of file isl29125-internal.h.

◆ ISL29125_REG_RESET

#define ISL29125_REG_RESET   0x00

Definition at line 44 of file isl29125-internal.h.

◆ ISL29125_REG_STATUS

#define ISL29125_REG_STATUS   0x08

Definition at line 55 of file isl29125-internal.h.