LibDriver VEML7700
Loading...
Searching...
No Matches
driver_veml7700_interrupt.h File Reference

driver veml7700 interrupt header file More...

Include dependency graph for driver_veml7700_interrupt.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VEML7700_INTERRUPT_DEFAULT_ALS_GAIN   VEML7700_ALS_GAIN_1
 veml7700 interrupt example default definition
#define VEML7700_INTERRUPT_DEFAULT_ALS_INTEGRATION_TIME   VEML7700_ALS_INTEGRATION_TIME_400MS
#define VEML7700_INTERRUPT_DEFAULT_ALS_PERSISTENCE   VEML7700_ALS_PERSISTENCE_1
#define VEML7700_INTERRUPT_DEFAULT_POWER_SAVING_MODE   VEML7700_POWER_SAVING_MODE1
#define VEML7700_INTERRUPT_DEFAULT_POWER_SAVING   VEML7700_BOOL_DISABLE

Functions

uint8_t veml7700_interrupt_init (uint16_t low_threshold, uint16_t high_threshold)
 interrupt example init
uint8_t veml7700_interrupt_deinit (void)
 interrupt example deinit
uint8_t veml7700_interrupt_read (double *lux)
 interrupt example read
uint8_t veml7700_interrupt_read_white (uint16_t *raw)
 interrupt example read white
uint8_t veml7700_interrupt_get_interrupt_status (veml7700_bool_t *low_threshold, veml7700_bool_t *high_threshold)
 interrupt example get interrupt status

Detailed Description

driver veml7700 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.

Version
1.0.0
Author
Shifeng Li
Date
2025-11-30

history

Date Version Author Description
2025/11/30 1.0 Shifeng Li first upload

Definition in file driver_veml7700_interrupt.h.