summaryrefslogtreecommitdiff
path: root/firmware/target/arm/philips/sa9200/adc-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/philips/sa9200/adc-target.h')
-rw-r--r--firmware/target/arm/philips/sa9200/adc-target.h22
1 files changed, 2 insertions, 20 deletions
diff --git a/firmware/target/arm/philips/sa9200/adc-target.h b/firmware/target/arm/philips/sa9200/adc-target.h
index ab7d5d92ed..007a11af10 100644
--- a/firmware/target/arm/philips/sa9200/adc-target.h
+++ b/firmware/target/arm/philips/sa9200/adc-target.h
@@ -21,25 +21,7 @@
21#ifndef _ADC_TARGET_H_ 21#ifndef _ADC_TARGET_H_
22#define _ADC_TARGET_H_ 22#define _ADC_TARGET_H_
23 23
24/* ADC channels */ 24/* The ADC sources and channels are common to all targets with AS3514 */
25#define NUM_ADC_CHANNELS 13 25#include "as3514.h"
26
27#define ADC_BVDD 0 /* Battery voltage of 4V LiIo accumulator */
28#define ADC_RTCSUP 1 /* RTC backup battery voltage */
29#define ADC_UVDD 2 /* USB host voltage */
30#define ADC_CHG_IN 3 /* Charger input voltage */
31#define ADC_CVDD 4 /* Charger pump output voltage */
32#define ADC_BATTEMP 5 /* Battery charging temperature */
33#define ADC_MICSUP1 6 /* Voltage on MicSup1 for remote control
34 or external voltage measurement */
35#define ADC_MICSUP2 7 /* Voltage on MicSup1 for remote control
36 or external voltage measurement */
37#define ADC_VBE1 8 /* Measuring junction temperature @ 2uA */
38#define ADC_VBE2 9 /* Measuring junction temperature @ 1uA */
39#define ADC_I_MICSUP1 10 /* Current of MicSup1 for remote control detection */
40#define ADC_I_MICSUP2 11 /* Current of MicSup2 for remote control detection */
41#define ADC_VBAT 12 /* Single cell battery voltage */
42
43#define ADC_UNREG_POWER ADC_BVDD /* For compatibility */
44 26
45#endif 27#endif