Zephyr API Documentation
4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
smartbond-adc.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2023 Renesas Electronics Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_INCLUDE_DT_BINDINGS_ADC_SMARTBOND_ADC_H_
8
#define ZEPHYR_INCLUDE_DT_BINDINGS_ADC_SMARTBOND_ADC_H_
9
10
#include <
zephyr/dt-bindings/dt-util.h
>
11
12
/* Values for DT zephyr,input-positive */
13
#define SMARTBOND_GPADC_P1_09 0
14
#define SMARTBOND_GPADC_P0_25 1
15
#define SMARTBOND_GPADC_P0_08 2
16
#define SMARTBOND_GPADC_P0_09 3
17
#define SMARTBOND_GPADC_VDD 4
18
#define SMARTBOND_GPADC_V30 5
19
#define SMARTBOND_GPADC_VBAT 8
20
#define SMARTBOND_GPADC_VSSA 9
21
#define SMARTBOND_GPADC_P1_13 16
22
#define SMARTBOND_GPADC_P1_12 17
23
#define SMARTBOND_GPADC_P1_18 18
24
#define SMARTBOND_GPADC_P1_19 19
25
#define SMARTBOND_GPADC_TEMP 20
26
27
/* Values for DT zephyr,input-positive or input-negative */
28
#define SMARTBOND_SDADC_P1_09 0
29
#define SMARTBOND_SDADC_P0_25 1
30
#define SMARTBOND_SDADC_P0_08 2
31
#define SMARTBOND_SDADC_P0_09 3
32
#define SMARTBOND_SDADC_P1_14 4
33
#define SMARTBOND_SDADC_P1_20 5
34
#define SMARTBOND_SDADC_P1_21 6
35
#define SMARTBOND_SDADC_P1_22 7
36
/* Values for DT zephyr,input-positive only */
37
#define SMARTBOND_SDADC_VBAT 8
38
39
#endif
/* ZEPHYR_INCLUDE_DT_BINDINGS_ADC_SMARTBOND_ADC_H_ */
dt-util.h
zephyr
dt-bindings
adc
smartbond-adc.h
Generated on Fri Nov 22 2024 12:02:43 for Zephyr API Documentation by
1.12.0