Loading...
Searching...
No Matches
veml6070_params.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2017 Inria
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include "board.h"
19#include "veml6070.h"
20#include "saul_reg.h"
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
30#ifndef VEML6070_PARAM_I2C_DEV
31#define VEML6070_PARAM_I2C_DEV I2C_DEV(0)
32#endif
33#ifndef VEML6070_PARAM_ITIME
34#define VEML6070_PARAM_ITIME VEML6070_1_T
35#endif
36
37#ifndef VEML6070_PARAMS
38#define VEML6070_PARAMS { .i2c_dev = VEML6070_PARAM_I2C_DEV, \
39 .itime = VEML6070_PARAM_ITIME }
40#endif
41#ifndef VEML6070_SAUL_INFO
42#define VEML6070_SAUL_INFO { .name = "veml6070" }
43#endif
45
50{
51 VEML6070_PARAMS
52};
53
58{
59 VEML6070_SAUL_INFO
60};
61
62#ifdef __cplusplus
63}
64#endif
65
SAUL registry interface definition.
Additional data to collect for each entry.
Definition saul_reg.h:48
Device initialization parameters.
Definition veml6070.h:54
Device driver interface for the VEML6070 UV sensor.
static const veml6070_params_t veml6070_params[]
Configure VEML6070.
static const saul_reg_info_t veml6070_saul_info[]
Configure SAUL registry entries.