/* * AD7280A Lithium Ion Battery Monitoring System * * Copyright 2011 Analog Devices Inc. * * Licensed under the GPL-2. */ #ifndef IIO_ADC_AD7280_H_ #define IIO_ADC_AD7280_H_ /* * TODO: struct ad7280_platform_data needs to go into include/linux/iio */ #define AD7280A_ACQ_TIME_400ns 0 #define AD7280A_ACQ_TIME_800ns 1 #define AD7280A_ACQ_TIME_1200ns 2 #define AD7280A_ACQ_TIME_1600ns 3 #define AD7280A_CONV_AVG_DIS 0 #define AD7280A_CONV_AVG_2 1 #define AD7280A_CONV_AVG_4 2 #define AD7280A_CONV_AVG_8 3 #define AD7280A_ALERT_REMOVE_VIN5 BIT(2) #define AD7280A_ALERT_REMOVE_VIN4_VIN5 BIT(3) #define AD7280A_ALERT_REMOVE_AUX5 BIT(0) #define AD7280A_ALERT_REMOVE_AUX4_AUX5 BIT(1) struct ad7280_platform_data { unsigned int acquisition_time; unsigned int conversion_averaging; unsigned int chain_last_alert_ignore; bool thermistor_term_en; }; #endif /* IIO_ADC_AD7280_H_ */Overall Contributors
Person | Tokens | Prop | Commits | CommitProp | |
michael hennerich | michael hennerich | 72 | 91.14% | 1 | 33.33% |
haneen mohammed | haneen mohammed | 4 | 5.06% | 1 | 33.33% |
alison schofield | alison schofield | 3 | 3.80% | 1 | 33.33% |
Total | 79 | 100.00% | 3 | 100.00% |