Loading...
Searching...
No Matches
veml6070_params.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2017 Inria
3 *
4 * This file is subject to the terms and conditions of the GNU Lesser
5 * General Public License v2.1. See the file LICENSE in the top level
6 * directory for more details.
7 */
8
19#ifndef VEML6070_PARAMS_H
20#define VEML6070_PARAMS_H
21
22#include "board.h"
23#include "veml6070.h"
24#include "saul_reg.h"
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
34#ifndef VEML6070_PARAM_I2C_DEV
35#define VEML6070_PARAM_I2C_DEV I2C_DEV(0)
36#endif
37#ifndef VEML6070_PARAM_ITIME
38#define VEML6070_PARAM_ITIME VEML6070_1_T
39#endif
40
41#ifndef VEML6070_PARAMS
42#define VEML6070_PARAMS { .i2c_dev = VEML6070_PARAM_I2C_DEV, \
43 .itime = VEML6070_PARAM_ITIME }
44#endif
45#ifndef VEML6070_SAUL_INFO
46#define VEML6070_SAUL_INFO { .name = "veml6070" }
47#endif
54{
55 VEML6070_PARAMS
56};
57
62{
63 VEML6070_SAUL_INFO
64};
65
66#ifdef __cplusplus
67}
68#endif
69
70#endif /* VEML6070_PARAMS_H */
SAUL registry interface definition.
Additional data to collect for each entry.
Definition saul_reg.h:49
Device initialization parameters.
Definition veml6070.h:55
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.