Loading...
Searching...
No Matches
adc_params.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2020 Beuth Hochschule für Technik Berlin
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
17
18#include "board.h"
19#include "saul/periph.h"
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
29{
30 {
31 .name = "POT1",
32 .line = ADC_LINE(0),
33 .res = ADC_RES_10BIT,
34 },
35};
36
37#ifdef __cplusplus
38}
39#endif
40
static const saul_adc_params_t saul_adc_params[]
ADC configuration.
Definition adc_params.h:29
#define ADC_LINE(x)
Default ADC line access macro.
Definition adc.h:85
@ ADC_RES_10BIT
ADC resolution: 10 bit.
Definition adc.h:95
Basic definitions for the MCB2388 board.
Parameter definitions for mapping peripherals directly to SAUL.
Direct mapped ADC configuration values.
Definition periph.h:62