Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: TS_DISCO_F746NG LCD_DISCO_F746NG BSP_DISCO_F746NG BUTTON_GROUP
Adafruit_APDS9960.h File Reference
Go to the source code of this file.
Detailed Description
Software License Agreement (BSD License)
Copyright (c) 2017, Adafruit Industries All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holders nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file Adafruit_APDS9960.h.
Enumeration Type Documentation
| anonymous enum |
I2C Registers.
Definition at line 43 of file Adafruit_APDS9960.h.
| anonymous enum |
Dimensions.
Definition at line 137 of file Adafruit_APDS9960.h.
| anonymous enum |
FIFO Interrupts.
Definition at line 144 of file Adafruit_APDS9960.h.
| anonymous enum |
Gesture Gain.
Definition at line 152 of file Adafruit_APDS9960.h.
| anonymous enum |
Pulse Lenghts.
Definition at line 160 of file Adafruit_APDS9960.h.
| enum apds9960AGain_t |
ADC gain settings.
- Enumerator:
APDS9960_AGAIN_1X No gain.
APDS9960_AGAIN_4X 2x gain
APDS9960_AGAIN_16X 16x gain
APDS9960_AGAIN_64X 64x gain
Definition at line 97 of file Adafruit_APDS9960.h.
| enum apds9960LedBoost_t |
LED boost settings.
- Enumerator:
APDS9960_LEDBOOST_100PCNT 100%
APDS9960_LEDBOOST_150PCNT 150%
APDS9960_LEDBOOST_200PCNT 200%
APDS9960_LEDBOOST_300PCNT 300%
Definition at line 129 of file Adafruit_APDS9960.h.
| enum apds9960LedDrive_t |
LED drive settings.
- Enumerator:
APDS9960_LEDDRIVE_100MA 100mA
APDS9960_LEDDRIVE_50MA 50mA
APDS9960_LEDDRIVE_25MA 25mA
APDS9960_LEDDRIVE_12MA 12.5mA
Definition at line 121 of file Adafruit_APDS9960.h.
| enum apds9960PGain_t |
Proxmity gain settings.
- Enumerator:
APDS9960_PGAIN_1X 1x gain
APDS9960_PGAIN_2X 2x gain
APDS9960_PGAIN_4X 4x gain
APDS9960_PGAIN_8X 8x gain
Definition at line 105 of file Adafruit_APDS9960.h.
| enum apds9960PPulseLen_t |
Pulse length settings.
- Enumerator:
APDS9960_PPULSELEN_4US 4uS
APDS9960_PPULSELEN_8US 8uS
APDS9960_PPULSELEN_16US 16uS
APDS9960_PPULSELEN_32US 32uS
Definition at line 113 of file Adafruit_APDS9960.h.
Generated on Fri Jul 22 2022 06:03:14 by
1.7.2