38#ifndef DRIVER_UVIS25_INTERRUPT_H
39#define DRIVER_UVIS25_INTERRUPT_H
55#define UVIS25_INTERRUPT_DEFAULT_IIC UVIS25_BOOL_TRUE
56#define UVIS25_INTERRUPT_DEFAULT_SPI_WIRE UVIS25_SPI_WIRE_4
57#define UVIS25_INTERRUPT_DEFAULT_BOOT_MODE UVIS25_BOOT_NORMAL_MODE
58#define UVIS25_INTERRUPT_DEFAULT_BLOCK_DATA_UPDATE UVIS25_BOOL_FALSE
59#define UVIS25_INTERRUPT_DEFAULT_INTERRUPT_ACTIVE_LEVEL UVIS25_INTERRUPT_ACTIVE_LEVEL_LOWER
60#define UVIS25_INTERRUPT_DEFAULT_INTERRUPT_PIN_TYPE UVIS25_INTERRUPT_PIN_TYPE_PUSH_PULL
61#define UVIS25_INTERRUPT_DEFAULT_INTERRUPT UVIS25_BOOL_TRUE
62#define UVIS25_INTERRUPT_DEFAULT_LATCH_INTERRUPT UVIS25_BOOL_FALSE
63#define UVIS25_INTERRUPT_DEFAULT_HIGH_THRESHOLD_INTERRUPT UVIS25_BOOL_TRUE
64#define UVIS25_INTERRUPT_DEFAULT_LOW_THRESHOLD_INTERRUPT UVIS25_BOOL_TRUE
87 void (*callback)(uint8_t type));
driver uvis25 interface header file
uvis25_interface_t
uvis25 interface enumeration definition
uint8_t uvis25_interrupt_irq_handler(void)
interrupt example irq handler
uint8_t uvis25_interrupt_init(uvis25_interface_t interface, uvis25_interrupt_type_t mode, float uv_threshold, void(*callback)(uint8_t type))
interrupt example init
uint8_t uvis25_interrupt_read(float *uv)
interrupt example read
uint8_t uvis25_interrupt_deinit(void)
basic interrupt deinit
uvis25_interrupt_type_t
uvis25 interrupt type enumeration definition