Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
adc_params.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2016 Eistec AB
3
* SPDX-FileCopyrightText: 2018 Matthew Blue <matthew.blue.neuro@gmail.com>
4
* SPDX-License-Identifier: LGPL-2.1-only
5
*/
6
7
#pragma once
8
19
20
#include "board.h"
21
#include "
saul/periph.h
"
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
30
static
const
saul_adc_params_t
saul_adc_params
[] =
31
{
32
{
33
.name =
"NTC thermistor"
,
34
.line = NTC_OUTPUT,
35
.res =
ADC_RES_10BIT
,
36
},
37
{
38
.name =
"Light sensor"
,
39
.line = LIGHT_SENSOR_OUTPUT,
40
.res =
ADC_RES_10BIT
,
41
},
42
{
43
.name =
"RC filter"
,
44
.line = FILTER_OUTPUT,
45
.res =
ADC_RES_10BIT
,
46
}
47
};
48
49
#ifdef __cplusplus
50
}
51
#endif
52
saul_adc_params
static const saul_adc_params_t saul_adc_params[]
ADC configuration.
Definition
adc_params.h:29
ADC_RES_10BIT
@ ADC_RES_10BIT
ADC resolution: 10 bit.
Definition
adc.h:95
periph.h
Parameter definitions for mapping peripherals directly to SAUL.
saul_adc_params_t
Direct mapped ADC configuration values.
Definition
periph.h:62
Generated on Wed Aug 27 2025 20:40:39 by
1.13.2