![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 */ 0002 #ifndef __IIO_DAC_AD5421_H__ 0003 #define __IIO_DAC_AD5421_H__ 0004 0005 /** 0006 * enum ad5421_current_range - Current range the AD5421 is configured for. 0007 * @AD5421_CURRENT_RANGE_4mA_20mA: 4 mA to 20 mA (RANGE1,0 pins = 00) 0008 * @AD5421_CURRENT_RANGE_3mA8_21mA: 3.8 mA to 21 mA (RANGE1,0 pins = x1) 0009 * @AD5421_CURRENT_RANGE_3mA2_24mA: 3.2 mA to 24 mA (RANGE1,0 pins = 10) 0010 */ 0011 0012 enum ad5421_current_range { 0013 AD5421_CURRENT_RANGE_4mA_20mA, 0014 AD5421_CURRENT_RANGE_3mA8_21mA, 0015 AD5421_CURRENT_RANGE_3mA2_24mA, 0016 }; 0017 0018 /** 0019 * struct ad5421_platform_data - AD5421 DAC driver platform data 0020 * @external_vref: whether an external reference voltage is used or not 0021 * @current_range: Current range the AD5421 is configured for 0022 */ 0023 0024 struct ad5421_platform_data { 0025 bool external_vref; 0026 enum ad5421_current_range current_range; 0027 }; 0028 0029 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |