Skip to content

File apds9960.h

FileList > dev > apds9960.h

Go to the source code of this file

Namespaces

Type Name
namespace daisy
Hardware defines and helpers for daisy field platform.

Classes

Type Name
class Apds9960 <typename Transport>
Device support for APDS9960 gesture / RGB / proximity sensor.
struct Config
class Apds9960I2CTransport
struct Config

Macros

Type Name
define APDS9960_ADDRESS (0x39)
define APDS9960_AICLEAR 0xE7
define APDS9960_AIHTH 0x87
define APDS9960_AIHTL 0x86
define APDS9960_AILTH 0x85
define APDS9960_AILTIL 0x84
define APDS9960_ATIME 0x81
define APDS9960_BDATAH 0x9B
define APDS9960_BDATAL 0x9A
define APDS9960_CDATAH 0x95
define APDS9960_CDATAL 0x94
define APDS9960_CICLEAR 0xE6
define APDS9960_CONFIG1 0x8D
define APDS9960_CONFIG2 0x90
define APDS9960_CONFIG3 0x9F
define APDS9960_CONTROL 0x8F
define APDS9960_DOWN 0x02
define APDS9960_ENABLE 0x80
define APDS9960_GCONF1 0xA2
define APDS9960_GCONF2 0xA3
define APDS9960_GCONF3 0xAA
define APDS9960_GCONF4 0xAB
define APDS9960_GDATAH 0x99
define APDS9960_GDATAL 0x98
define APDS9960_GEXTH 0xA1
define APDS9960_GFIFO_D 0xFD
define APDS9960_GFIFO_L 0xFE
define APDS9960_GFIFO_R 0xFF
define APDS9960_GFIFO_U 0xFC
define APDS9960_GFLVL 0xAE
define APDS9960_GOFFSET_D 0xA5
define APDS9960_GOFFSET_L 0xA7
define APDS9960_GOFFSET_R 0xA9
define APDS9960_GOFFSET_U 0xA4
define APDS9960_GPENTH 0xA0
define APDS9960_GPULSE 0xA6
define APDS9960_GSTATUS 0xAF
define APDS9960_ID 0x92
define APDS9960_IFORCE 0xE4
define APDS9960_LEFT 0x03
define APDS9960_PDATA 0x9C
define APDS9960_PERS 0x8C
define APDS9960_PICLEAR 0xE5
define APDS9960_PIHT 0x8B
define APDS9960_PILT 0x89
define APDS9960_POFFSET_DL 0x9E
define APDS9960_POFFSET_UR 0x9D
define APDS9960_PPULSE 0x8E
define APDS9960_RAM 0x00
define APDS9960_RDATAH 0x97
define APDS9960_RDATAL 0x96
define APDS9960_RIGHT 0x04
define APDS9960_STATUS 0x93
define APDS9960_UP 0x01
define APDS9960_WTIME 0x83
define DSY_APDS9960_H

Macro Definition Documentation

define APDS9960_ADDRESS

#define APDS9960_ADDRESS `(0x39)`

I2C Address


define APDS9960_AICLEAR

#define APDS9960_AICLEAR `0xE7`

define APDS9960_AIHTH

#define APDS9960_AIHTH `0x87`

define APDS9960_AIHTL

#define APDS9960_AIHTL `0x86`

define APDS9960_AILTH

#define APDS9960_AILTH `0x85`

define APDS9960_AILTIL

#define APDS9960_AILTIL `0x84`

define APDS9960_ATIME

#define APDS9960_ATIME `0x81`

define APDS9960_BDATAH

#define APDS9960_BDATAH `0x9B`

define APDS9960_BDATAL

#define APDS9960_BDATAL `0x9A`

define APDS9960_CDATAH

#define APDS9960_CDATAH `0x95`

define APDS9960_CDATAL

#define APDS9960_CDATAL `0x94`

define APDS9960_CICLEAR

#define APDS9960_CICLEAR `0xE6`

define APDS9960_CONFIG1

#define APDS9960_CONFIG1 `0x8D`

define APDS9960_CONFIG2

#define APDS9960_CONFIG2 `0x90`

define APDS9960_CONFIG3

#define APDS9960_CONFIG3 `0x9F`

define APDS9960_CONTROL

#define APDS9960_CONTROL `0x8F`

define APDS9960_DOWN

#define APDS9960_DOWN `0x02`

Gesture Down


define APDS9960_ENABLE

#define APDS9960_ENABLE `0x80`

define APDS9960_GCONF1

#define APDS9960_GCONF1 `0xA2`

define APDS9960_GCONF2

#define APDS9960_GCONF2 `0xA3`

define APDS9960_GCONF3

#define APDS9960_GCONF3 `0xAA`

define APDS9960_GCONF4

#define APDS9960_GCONF4 `0xAB`

define APDS9960_GDATAH

#define APDS9960_GDATAH `0x99`

define APDS9960_GDATAL

#define APDS9960_GDATAL `0x98`

define APDS9960_GEXTH

#define APDS9960_GEXTH `0xA1`

define APDS9960_GFIFO_D

#define APDS9960_GFIFO_D `0xFD`

define APDS9960_GFIFO_L

#define APDS9960_GFIFO_L `0xFE`

define APDS9960_GFIFO_R

#define APDS9960_GFIFO_R `0xFF`

define APDS9960_GFIFO_U

#define APDS9960_GFIFO_U `0xFC`

define APDS9960_GFLVL

#define APDS9960_GFLVL `0xAE`

define APDS9960_GOFFSET_D

#define APDS9960_GOFFSET_D `0xA5`

define APDS9960_GOFFSET_L

#define APDS9960_GOFFSET_L `0xA7`

define APDS9960_GOFFSET_R

#define APDS9960_GOFFSET_R `0xA9`

define APDS9960_GOFFSET_U

#define APDS9960_GOFFSET_U `0xA4`

define APDS9960_GPENTH

#define APDS9960_GPENTH `0xA0`

define APDS9960_GPULSE

#define APDS9960_GPULSE `0xA6`

define APDS9960_GSTATUS

#define APDS9960_GSTATUS `0xAF`

define APDS9960_ID

#define APDS9960_ID `0x92`

define APDS9960_IFORCE

#define APDS9960_IFORCE `0xE4`

define APDS9960_LEFT

#define APDS9960_LEFT `0x03`

Gesture Left


define APDS9960_PDATA

#define APDS9960_PDATA `0x9C`

define APDS9960_PERS

#define APDS9960_PERS `0x8C`

define APDS9960_PICLEAR

#define APDS9960_PICLEAR `0xE5`

define APDS9960_PIHT

#define APDS9960_PIHT `0x8B`

define APDS9960_PILT

#define APDS9960_PILT `0x89`

define APDS9960_POFFSET_DL

#define APDS9960_POFFSET_DL `0x9E`

define APDS9960_POFFSET_UR

#define APDS9960_POFFSET_UR `0x9D`

define APDS9960_PPULSE

#define APDS9960_PPULSE `0x8E`

define APDS9960_RAM

#define APDS9960_RAM `0x00`

I2C Registers


define APDS9960_RDATAH

#define APDS9960_RDATAH `0x97`

define APDS9960_RDATAL

#define APDS9960_RDATAL `0x96`

define APDS9960_RIGHT

#define APDS9960_RIGHT `0x04`

Gesture Right


define APDS9960_STATUS

#define APDS9960_STATUS `0x93`

define APDS9960_UP

#define APDS9960_UP `0x01`

Gesture Up


define APDS9960_WTIME

#define APDS9960_WTIME `0x83`

define DSY_APDS9960_H

#define DSY_APDS9960_H 


The documentation for this class was generated from the following file external-docs/libDaisy/src/dev/apds9960.h