![]() |
LibDriver TSL2561
|
driver tsl2561 interrupt header file More...
#include <driver_tsl2561_interface.h>Go to the source code of this file.
Macros | |
| #define | TSL2561_INTERRUPT_DEFAULT_GAIN TSL2561_GAIN_16 |
| tsl2561 interrupt example default definition | |
| #define | TSL2561_INTERRUPT_DEFAULT_INTEGRATION_TIME TSL2561_INTEGRATION_TIME_402MS |
Functions | |
| uint8_t | tsl2561_interrupt_init (tsl2561_address_t addr_pin, tsl2561_interrupt_mode_t mode, uint16_t ch0_low_threshold, uint16_t ch0_high_threshold) |
| interrupt example init | |
| uint8_t | tsl2561_interrupt_deinit (void) |
| interrupt example deinit | |
| uint8_t | tsl2561_interrupt_read (uint32_t *lux) |
| interrupt example read | |
driver tsl2561 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/26 | 2.0 | Shifeng Li | format the code |
| 2020/10/28 | 1.0 | Shifeng Li | first upload |
Definition in file driver_tsl2561_interrupt.h.