Line data Source code
1 0 : /* 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 0 : #define SMARTBOND_GPADC_P1_09 0 14 0 : #define SMARTBOND_GPADC_P0_25 1 15 0 : #define SMARTBOND_GPADC_P0_08 2 16 0 : #define SMARTBOND_GPADC_P0_09 3 17 0 : #define SMARTBOND_GPADC_VDD 4 18 0 : #define SMARTBOND_GPADC_V30 5 19 0 : #define SMARTBOND_GPADC_VBAT 8 20 0 : #define SMARTBOND_GPADC_VSSA 9 21 0 : #define SMARTBOND_GPADC_P1_13 16 22 0 : #define SMARTBOND_GPADC_P1_12 17 23 0 : #define SMARTBOND_GPADC_P1_18 18 24 0 : #define SMARTBOND_GPADC_P1_19 19 25 0 : #define SMARTBOND_GPADC_TEMP 20 26 : 27 : /* Values for DT zephyr,input-positive or input-negative */ 28 0 : #define SMARTBOND_SDADC_P1_09 0 29 0 : #define SMARTBOND_SDADC_P0_25 1 30 0 : #define SMARTBOND_SDADC_P0_08 2 31 0 : #define SMARTBOND_SDADC_P0_09 3 32 0 : #define SMARTBOND_SDADC_P1_14 4 33 0 : #define SMARTBOND_SDADC_P1_20 5 34 0 : #define SMARTBOND_SDADC_P1_21 6 35 0 : #define SMARTBOND_SDADC_P1_22 7 36 : /* Values for DT zephyr,input-positive only */ 37 0 : #define SMARTBOND_SDADC_VBAT 8 38 : 39 : #endif /* ZEPHYR_INCLUDE_DT_BINDINGS_ADC_SMARTBOND_ADC_H_ */