![]() |
LibDriver TCS34725
|
driver tcs34725 interrupt header file More...
#include "driver_tcs34725_interface.h"Go to the source code of this file.
Macros | |
| #define | TCS34725_INTERRUPT_DEFAULT_WAIT TCS34725_BOOL_TRUE |
| tcs34725 interrupt example default definition | |
| #define | TCS34725_INTERRUPT_DEFAULT_RGBC TCS34725_BOOL_TRUE |
| #define | TCS34725_INTERRUPT_DEFAULT_INTEGRATION_TIME TCS34725_INTEGRATION_TIME_50MS |
| #define | TCS34725_INTERRUPT_DEFAULT_WAIT_TIME TCS34725_WAIT_TIME_2P4MS |
| #define | TCS34725_INTERRUPT_DEFAULT_GAIN TCS34725_GAIN_16X |
| #define | TCS34725_INTERRUPT_DEFAULT_POWER_ON TCS34725_BOOL_TRUE |
Functions | |
| uint8_t | tcs34725_interrupt_init (tcs34725_interrupt_mode_t mode, uint16_t low_threshold, uint16_t high_threshold) |
| interrupt example init | |
| uint8_t | tcs34725_interrupt_read (uint16_t *red, uint16_t *green, uint16_t *blue, uint16_t *clear) |
| interrupt example read | |
| uint8_t | tcs34725_interrupt_deinit (void) |
| interrupt example deinit | |
driver tcs34725 interrupt header file
Copyright (c) 2015 - present LibDriver All rights reserved
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Date | Version | Author | Description |
|---|---|---|---|
| 2021/02/28 | 2.0 | Shifeng Li | format the code |
| 2020/10/30 | 1.0 | Shifeng Li | first upload |
Definition in file driver_tcs34725_interrupt.h.