98年属相是什么| 玄学什么意思| 民兵是干什么的| 埋怨是什么意思| 勃是什么意思| 身体水肿是什么原因引起的| miffy是什么意思| 蟋蟀是靠什么发声的| 胡萝卜不能和什么食物一起吃| 检测hpv挂什么科| 做梦梦见钓鱼是什么意思| 8.23是什么星座| 什么是假性自闭症| 碳酸钙d3片什么时候吃最好| 夏至什么意思| 骨骼肌率是什么意思| 鸡属于什么科| 男人为什么喜欢吃奶| 拜谒是什么意思| 掉头发是身体缺少什么| mandy是什么意思| 不全性骨折是什么意思| 颞颌关节炎吃什么药| 额是什么意思| 冻顶乌龙茶属于什么茶| 吃维e有什么好处和副作用| 化疗后吃什么食物最好| 四川是什么生肖| 男性尿道炎是什么原因引起的| 不还信用卡有什么后果| 孜孜不倦是什么意思| 欣赏一个人是什么意思| 冬至穿什么衣服| 什么水果减肥| 久坐伤什么| 糙皮病是什么病| 徐五行属什么| suvmax是什么意思| 牙齿酸是什么原因| ira是什么品牌| 施华洛世奇算什么档次| 灼口综合症吃什么药| 感冒打喷嚏吃什么药| 看脑部挂什么科| 小孩容易出汗是什么原因| olp是什么意思| 尿隐血什么意思| 身份证后四位代表什么| 伤口发炎用什么药| 吃中药不能吃什么水果| 18岁属什么的生肖| 阴道瘙痒是什么原因| 西安有什么玩的| 胃酸过多吃什么药| 金字旁的字和什么有关| 尿蛋白吃什么药| 喜筵和喜宴是什么意思| 涵养是什么意思| 丁桂鱼吃什么食物| 头发偏黄是什么原因| model是什么牌子| 热射病什么症状| 有心火是什么症状| 1980年属什么生肖| 傻人有傻福什么意思| 猪八戒叫什么名字| 3.22是什么星座| 红细胞低吃什么补得快| 脚底起水泡是什么原因| 头晕为什么做眼震检查| 教学相长是什么意思| 廊坊有什么好玩的地方| fnh是什么病| 狮子座和什么星座不合| 睡觉起来眼睛肿是什么原因| 18k金和24k金有什么区别| 性激素是什么意思| 覆水难收什么意思| 貂是什么动物| 湖北九头鸟是什么意思| 人造海蜇丝是什么做的| 嗑药是什么意思| 生蚝和牡蛎有什么区别| 不服是什么意思| 什么是气胸| 36年属什么生肖| fnh是什么病| 胎位左枕前是什么意思| 元朝是什么民族| 狗刨坑是什么征兆| 牛鞭是牛的什么部位| 4月份是什么星座| 治疗褥疮用什么药| 拉大便肛门口疼痛什么原因| 525什么星座| 防晒霜什么牌子好| 耳目比喻什么| 7月11是什么星座| 梦见自己大笑是什么意思| 中药学专业学什么| 大健康是什么意思| 蜘蛛喜欢吃什么| 牛肉不能和什么食物一起吃| 北斗星代表什么生肖| 肝部出现腹水是什么原因| 宝宝咳嗽有痰吃什么药效果好| 什么是熬夜| 细菌性肠炎是什么原因引起的| 室性期前收缩是什么意思| 一个王一个番读什么| 阶段是什么意思| 马岱字什么| 二尖瓣关闭不全是什么意思| 尿频看什么科| 达芬奇是干什么的| 凌乱是什么意思| 是对什么| 扎是什么意思| 捣碎东西的器皿叫什么| pr间期缩短是什么意思| 双手合十什么意思| 黄鼠狼进屋是什么兆头| 今年是什么年| 外阴瘙痒用什么| 张柏芝什么星座| 挑食是什么意思| 带状疱疹看什么科| 谷丙转氨酶偏高吃什么好| 口发苦是什么原因| 国家电网需要什么专业| 什么是圆房| 豫州是现在的什么地方| 菜鸟什么意思| 放疗期间吃什么食物最好| 调虎离山是什么意思| 精满自溢是什么意思| 颞颌关节紊乱挂什么科| 肾虚是什么原因| 烧心胃酸吃什么药| 肝阳上亢吃什么药| 干眼症是什么| 区号是什么| bid是什么意思| 爵是什么器皿| 心跳过速吃什么药| 什么时候恢复高考| 财年是什么意思| 输血四项检查是什么| 孔子孟子什么关系| 高血压吃什么水果好| 一个火一个旦读什么字| 烂好人是什么意思| pa是什么元素| 荷花是什么时候开的| 酸野是什么| 部队指导员是什么级别| o型血和什么血型最配| hc是胎儿的什么| 燚是什么意思| 维生素b6主治什么病| 老年人喝什么蛋白粉好| 什么叫假性发烧| 经期吃什么好排除瘀血| 夜间咳嗽是什么原因| 心机boy什么意思| 便秘是什么症状| 怀孕吃什么宝宝会白| 7月30日什么星座| 鸽子夏天喝什么水好| 眼屎多吃什么药效果好| 仙灵脾又叫什么| cd20阳性什么意思| 鱼腥草有什么用处| 肺结节影是什么意思啊| 什么可以消肿快的方法| 搬家当天有什么讲究| 游泳比赛中wj是什么意思| 辐照食品什么意思| 晚上难入睡是什么原因| 看见蝙蝠有什么预兆| 7月八号是什么星座| 面包虫长大后变成什么| 排卵期什么症状和反应| 李耳为什么叫老子| 阴道炎要用什么药| 十二指肠球炎是什么病| 一岁半打什么疫苗| 什么是竖式计算| 白色车里放什么摆件好| 唯有读书高的前一句是什么| 什么是t| 白斑用什么药膏| 脉络膜裂囊肿是什么病| 毫无违和感什么意思| 26岁属什么的生肖| 苹果煮水喝有什么好处和坏处| 孕初期吃什么对胎儿好| 冰粉是用什么做的| 肾结水是什么原因造成的| 月经来黑色是什么原因| 桂枝茯苓丸治什么病| 玛瑙什么颜色最贵| 闷葫芦是什么意思| 双肺斑索是什么意思| 空气炸锅什么牌子好| 腺样体面容是什么意思| 11号来月经什么时候是排卵期| 拉肚子为什么憋不住| camp是什么| b型血为什么叫贵族血| 左肋骨下方是什么器官| 梦见卖东西是什么意思| 肛门长肉球是什么原因| 和风什么| 为什么会做噩梦| 什么生肖最好| 为什么贫血| 三七粉吃了有什么好处| 爆菊花是什么意思| 牙龈上火是什么原因引起的| 脚踝肿挂什么科| 胃寒能吃什么水果| 去湿气吃什么食物| oa期刊是什么意思| 舌息心念什么| lisa英文名什么意思| 垂涎欲滴意思是什么| crh是什么意思| 莞式服务是什么| 什么水果利尿效果最好| 刹那芳华是什么意思| 上尉是什么级别| 吃饺子是什么节日| 战狼三什么时候上映| 憋是什么意思| 一是什么动物| acr是什么意思| 耳朵长痣代表什么| 圆珠笔是什么笔| 仓鼠是什么科动物| 梦见猫是什么意思| hpv12种高危型阳性是什么意思| 梦见自己骑马是什么意思| 算了吧什么意思| 吃芒果有什么好处和坏处| 夏天容易出汗是什么原因| 扬州有什么好玩的| 耳朵烧是什么原因| 888红包代表什么意思| 形影不离是什么意思| 做肠镜有什么危害| 西瓜不可以和什么同食| 泓五行属什么| 阴囊潮湿是什么原因造成的| 一个入一个肉念什么| 30如狼40如虎是什么意思| 宝宝肠胃炎吃什么药| 乙肝15阳性是什么意思| 钙片什么牌子好| 生物冰袋里面是什么| 去香港澳门旅游需要准备什么| fov是什么| 芥末配什么好吃| 女性腰酸是什么妇科病| 百度

跌停险被斩首了,新推出的外卖险存活率多高?

This version (19 Jan 2018 09:13) was approved by Alexandru Ardelean.The Previously approved version (05 Dec 2017 13:17) is available.Diff

AD5592R IIO DAC/ADC Linux Driver

Supported Devices

Reference Circuits

Evaluation Boards

Description

百度 毫不动摇坚持一个中国的原则,坚持“九二共识”的政治基础,坚决反对“台独”,积极推进两岸民间各领域交流合作,切实做好争取人心的工作,增进了两岸同胞亲情和福祉。

The AD5592R/AD5592R-1 have eight I/Ox pins (I/O0 to I/O7) that can be independently configured as digital-to-analog converter (DAC) outputs, analog-to-digital converter (ADC) inputs, digital outputs, or digital inputs.

When an I/Ox pin is configured as an analog output, it is driven by a 12-bit DAC. The output range of the DAC is 0 V to VREF or 0 V to 2 × VREF.

When an I/Ox pin is configured as an analog input, it is connected to a 12-bit ADC via an analog multiplexer. The input range of the ADC is 0 V to VREF or 0 V to 2 × VREF. The ADC has a total throughput rate of 400 kSPS.

The I/Ox pins can also be configured as digital, general-purpose input or output (GPIO) pins. The state of the GPIO pins can be set or read back by accessing the GPIO write data register or the GPIO read configuration register, respectively, via a serial peripheral interface (SPI) write or read operation.

The AD5592R/AD5592R-1 have an integrated 2.5 V, 25 ppm/°C reference, which is turned off by default, and an integrated temperature indicator, which gives an indication of the die temperature. The temperature value is read back as part of an ADC read sequence.

Source Code

Status

Source Mainlined?
git yes

Files

Hardware configuration

ad5592r_eval.jpg

Adding Linux driver support

Enabling the driver

Configure kernel with “make menuconfig” (alternatively use “make xconfig” or “make qconfig”)

The AD5592R Driver depends on CONFIG_SPI_MASTER

Linux Kernel Configuration
    Device Drivers  --->
        ...
        <*>     Industrial I/O support --->
            --- Industrial I/O support
            ...
            Digital to analog converters  ---> 
                ...
                <*>   Analog Devices AD5592R ADC/DAC driver
                ...
            ...
        ...

Adding a device tree entry

Required properties

  • compatible: Must be one of:
    • “adi,ad5592r”
  • reg: SPI chip select number for the device
  • spi-max-frequency: Max SPI frequency to use (< 30000000)
  • spi-cpol: The AD5592R requires inverse clock polarity (CPOL) mode
  • #address-cells: Should be 1.
  • #size-cells: Should be 0.
  • channel nodes:
    • Each child node represents one channel and has the following
    • Required properties:
    • reg: Pin on which this channel is connected to.
    • adi,mode: Mode or function of this channel. Macros specifying the valid values can be found in <dt-bindings/iio/adi,ad5592r.h>. The following values are currently supported:
      • CH_MODE_UNUSED (the pin is unused)
      • CH_MODE_ADC (the pin is ADC input)
      • CH_MODE_DAC (the pin is DAC output)
      • CH_MODE_DAC_AND_ADC (the pin is DAC output but can be monitored by an ADC, since there is no disadvantage this this should be considered as the preferred DAC mode)
      • CH_MODE_GPIO (the pin is registered with GPIOLIB)
  • Optional properties:
  • adi,off-state: State of this channel when unused or the device is removed. Macros specifying the valid values can be found in <dt-bindings/iio/adi,ad5592r.h>.
    • CH_OFFSTATE_PULLDOWN (the pin is pulled down)
    • CH_OFFSTATE_OUT_LOW (the pin is output low)
    • CH_OFFSTATE_OUT_HIGH (the pin is output high)
    • CH_OFFSTATE_OUT_TRISTATE (the pin is tristated output)

Optional properties

  • vref-supply: Phandle to the external reference voltage supply. This should only be set if there is an external reference voltage connected to the VREF pin. If the property is not set the internal 2.5V reference is used.
  • reset-gpios : GPIO spec for the RESET pin. If specified, it will be asserted during driver probe.
  • gpio-controller: Marks the device node as a GPIO controller.
  • #gpio-cells: Should be 2. The first cell is the GPIO number and the second cell specifies GPIO flags, as defined in <dt-bindings/gpio/gpio.h>.

Device tree example

The following example instanciates the ad5592r driver for a AD5592R device connected on the SPI bus to the chip-select line 0. It sets the I/O0 port as a DAC, the I/O1 port as ADC. I/O2 and I/O3 are configured for primary function DAC the additional ADC can measure the voltage being provided by the DAC. This feature can monitor the output voltage to detect short circuits or overload conditions. I/O4 is connected to the ground with a pull-down resistor. The other I/Os are registered with the Linux GPIO subsystem.

	#include <dt-bindings/iio/adi,ad5592r.h>

	vref: regulator-vref {
		compatible = "regulator-fixed";
		regulator-name = "vref-ad559x";
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-always-on;
	};

	ad5592r@0 {
		#size-cells = <0>;
		#address-cells = <1>;
		#gpio-cells = <2>;
		compatible = "adi,ad5592r";
		reg = <0>;

		spi-max-frequency = <1000000>;
		spi-cpol;

		vref-supply = <&vref>; /* optional */
		reset-gpios = <&gpio0 86 0>;  /* optional */
		gpio-controller;

		channel@0 {
			reg = <0>;
			adi,mode = <CH_MODE_DAC>;
		};
		channel@1 {
			reg = <1>;
			adi,mode = <CH_MODE_ADC>;
		};
		channel@2 {
			reg = <2>;
			adi,mode = <CH_MODE_DAC_AND_ADC>;
		};
		channel@3 {
			reg = <3>;
			adi,mode = <CH_MODE_DAC_AND_ADC>;
			adi,off-state = <CH_OFFSTATE_PULLDOWN>;
		};
		channel@4 {
			reg = <4>;
			adi,mode = <CH_MODE_UNUSED>;
			adi,off-state = <CH_OFFSTATE_PULLDOWN>;
		};
		channel@5 {
			reg = <5>;
			adi,mode = <CH_MODE_GPIO>;
			adi,off-state = <CH_OFFSTATE_PULLDOWN>;
		};
		channel@6 {
			reg = <6>;
			adi,mode = <CH_MODE_GPIO>;
			adi,off-state = <CH_OFFSTATE_PULLDOWN>;
		};
		channel@7 {
			reg = <7>;
			adi,mode = <CH_MODE_GPIO>;
			adi,off-state = <CH_OFFSTATE_PULLDOWN>;
		};
	};

Driver testing

If the driver correctly detected the device, the “iio_info” program should inform us about the available channels:

root@linaro-ubuntu-desktop:~# iio_info 
IIO context created: local
IIO context has 3 devices:
        iio:device2: ad5593r
                7 channels found:
                        voltage0:  (output)
                        3 channel-specific attributes found:
                                attr 0: raw value: 0
                                attr 1: scale_available value: 0.732421875 1.464843750
                                attr 2: scale value: 0.732421875
                        voltage2:  (output)
                        3 channel-specific attributes found:
                                attr 0: raw value: 0
                                attr 1: scale_available value: 0.732421875 1.464843750
                                attr 2: scale value: 0.732421875
                        voltage3:  (output)
                        3 channel-specific attributes found:
                                attr 0: raw value: 0
                                attr 1: scale_available value: 0.732421875 1.464843750
                                attr 2: scale value: 0.732421875
                        voltage1:  (input)
                        3 channel-specific attributes found:
                                attr 0: raw value: 0
                                attr 1: scale value: 0.732421875
                                attr 2: scale_available value: 0.732421875 1.464843750
                        voltage2:  (input)
                        3 channel-specific attributes found:
                                attr 0: raw value: 1
                                attr 1: scale value: 0.732421875
                                attr 2: scale_available value: 0.732421875 1.464843750
                        voltage3:  (input)
                        3 channel-specific attributes found:
                                attr 0: raw value: 0
                                attr 1: scale value: 0.732421875
                                attr 2: scale_available value: 0.732421875 1.464843750
                        temp:  (input)
                        3 channel-specific attributes found:
                                attr 0: offset value: -628
                                attr 1: raw value: 680
                                attr 2: scale value: 452.147700000

IIO sysfs interface

root@linaro-ubuntu-desktop:/sys/bus/iio/devices/iio:device2# ls -al
total 0
drwxr-xr-x 3 root root    0 Jan  1  1970 .
drwxr-xr-x 5 root root    0 Jan  1  1970 ..
-rw-rw-rw- 1 root root 4096 Jan  1  1970 dev
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_temp_offset
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_temp_raw
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_temp_scale
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_voltage1_raw
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_voltage2_raw
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_voltage3_raw
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_voltage_scale
-rw-rw-rw- 1 root root 4096 Jan  1  1970 in_voltage_scale_available
-rw-rw-rw- 1 root root 4096 Jan  1  1970 name
lrwxrwxrwx 1 root root    0 Jan  1  1970 of_node -> ../../../../../../../firmware/devicetree/base/amba/i2c@e0004000/ad5593r@10
-rw-rw-rw- 1 root root 4096 Jan  1  1970 out_voltage0_raw
-rw-rw-rw- 1 root root 4096 Jan  1  1970 out_voltage2_raw
-rw-rw-rw- 1 root root 4096 Jan  1  1970 out_voltage3_raw
-rw-rw-rw- 1 root root 4096 Jan  1  1970 out_voltage_scale
-rw-rw-rw- 1 root root 4096 Jan  1  1970 out_voltage_scale_available
drwxrwxrwx 2 root root    0 Jan  1  1970 power
lrwxrwxrwx 1 root root    0 Jan  1  1970 subsystem -> ../../../../../../../bus/iio
-rw-rw-rw- 1 root root 4096 Jan  1  1970 uevent
root@linaro-ubuntu-desktop:/sys/bus/iio/devices/iio:device2# 
root@linaro-ubuntu-desktop:/sys/bus/iio/devices/iio:device2# grep "" *
dev:252:2
in_temp_offset:-753
in_temp_raw:810
in_temp_scale:376.789750000
in_voltage1_raw:0
in_voltage2_raw:0
in_voltage3_raw:0
in_voltage_scale:0.610351562
in_voltage_scale_available:0.610351562 1.220703124
name:ad5592r
out_voltage0_raw:0
out_voltage2_raw:0
out_voltage3_raw:0
out_voltage_scale:0.610351562
out_voltage_scale_available:0.610351562 1.220703124
uevent:MINOR=2
uevent:DEVNAME=iio:device2
uevent:DEVTYPE=iio_device
uevent:OF_NAME=ad5593r
uevent:OF_FULLNAME=/amba/i2c@e0004000/ad5593r@10
uevent:OF_COMPATIBLE_0=adi,ad5593r
uevent:OF_COMPATIBLE_N=1

Show device name

This specifies any shell prompt running on the target

root@linaro-ubuntu-desktop:/sys/bus/iio/devices/iio:device2# cat name
ad5593r

Scales

The output range of the DAC is 0 V to VREF or 0 V to 2 × VREF. out_voltage_scale is used to select the high or low range. Without external reference the driver selects the internal 2500mV VREF reference. So the scale computes as 2500mV/2^12 = 0.610351562 or 5000mV/2^12 = 1.220703124.

The input range of the ADC is 0 V to VREF or 0 V to 2 × VREF. in_voltage_scale is used to select the high or low range. Without external reference the driver selects the internal 2500mV VREF reference. So the scale computes as 2500mV/2^12 = 0.610351562 or 5000mV/2^12 = 1.220703124.

Show current scale

Description:
scale to be applied to out_voltageY_raw/in_voltageY_raw in order to obtain the measured voltage in millivolts.

This specifies any shell prompt running on the target

root@linaro-ubuntu-desktop:/sys/bus/iio/devices/iio:device2# cat out_voltage_scale
0.610351562

Show available scales

Description:
scale to be applied to out_voltageY_raw/in_voltageY_raw in order to obtain the measured voltage in millivolts.

This specifies any shell prompt running on the target

root@linaro-ubuntu-desktop:/sys/bus/iio/devices/iio:device2# cat in_voltage_scale_available
0.610351562 1.220703124

Change scales

Description:
scale to be applied to out_voltageY_raw/in_voltageY_raw in order to obtain the measured voltage in millivolts.

This specifies any shell prompt running on the target

root@linaro-ubuntu-desktop:/sys/bus/iio/devices/iio:device2# echo 1.220703124 > in_voltage_scale
root@linaro-ubuntu-desktop:/sys/bus/iio/devices/iio:device2# cat in_voltage_scale
1.220703124

Get channel Y input voltage

Description: Raw unscaled voltage measurement on channel Y

This specifies any shell prompt running on the target

This specifies any shell prompt running on the target

root@linaro-ubuntu-desktop:/sys/bus/iio/devices/iio:device2# cat in_voltage3_raw
1491

U = in_voltage3_raw * in_voltage_scale = 1491 * 0.610351562 = 910 mV

Set channel Y output voltage

Description:
Raw (unscaled, no bias etc.) output voltage for channel Y.

This specifies any shell prompt running on the target

root@linaro-ubuntu-desktop:/sys/bus/iio/devices/iio:device2# echo 1638 > out_voltage0_raw

U = out_voltage0_raw * out_voltage_scale = 1638 * 0.610351562 = 999.76 mV

Example obtaining the temperature in °C

T = ( in_temp_raw + in_temp_offset ) * in_temp_scale

T = ( 810 - 753 ) * 376.78975 = 21477 mdeg C = 21.5 °C

For more information see also here: IIO Kernel Documentation

GPIO Testing

The GPIO sysfs interface allows users to manipulate any GPIO from userspace. Userspace utilizes a sysfs control interface to dynamically request and release individual GPIOs. Once a GPIO has been requested, writing to the newly created path allows you to control the direction and the data while reading from it returns the GPIO data (which usually corresponds to a 0 or 1 which represents the signal level).

For more information see also here: GPIO Kernel Documentation

root@linaro-ubuntu-desktop:~# cd /sys/class/gpio/
root@linaro-ubuntu-desktop:/sys/class/gpio# ls
export  gpiochip890  gpiochip898  gpiochip906  unexport

root@linaro-ubuntu-desktop:/sys/class/gpio# cd gpiochip890

root@linaro-ubuntu-desktop:/sys/class/gpio/gpiochip890# ls -al
total 0
drwxr-xr-x 3 root root    0 Jan  1  1970 .
drwxr-xr-x 3 root root    0 Jan  1  1970 ..
-r--r--r-- 1 root root 4096 Feb 23 08:06 base
lrwxrwxrwx 1 root root    0 Feb 23 08:06 device -> ../../../0-0010
-r--r--r-- 1 root root 4096 Feb 23 08:06 label
-r--r--r-- 1 root root 4096 Feb 23 08:06 ngpio
drwxr-xr-x 2 root root    0 Feb 23 08:06 power
lrwxrwxrwx 1 root root    0 Jan  1  1970 subsystem -> ../../../../../../../../class/gpio
-rw-r--r-- 1 root root 4096 Jan  1  1970 uevent

root@linaro-ubuntu-desktop:/sys/class/gpio/gpiochip890# grep "" *
base:890
label:0-0010
ngpio:8


root@linaro-ubuntu-desktop:/sys/class/gpio/gpiochip890# cd ..
root@linaro-ubuntu-desktop:/sys/class/gpio# echo 897 > export 
root@linaro-ubuntu-desktop:/sys/class/gpio# cd gpio897/
root@linaro-ubuntu-desktop:/sys/class/gpio/gpio897# ls -al
total 0
drwxr-xr-x 3 root root    0 Feb 23 08:06 .
drwxr-xr-x 4 root root    0 Feb 23 08:06 ..
-rw-r--r-- 1 root root 4096 Feb 23 08:06 active_low
lrwxrwxrwx 1 root root    0 Feb 23 08:06 device -> ../../../0-0010
-rw-r--r-- 1 root root 4096 Feb 23 08:06 direction
drwxr-xr-x 2 root root    0 Feb 23 08:06 power
lrwxrwxrwx 1 root root    0 Feb 23 08:06 subsystem -> ../../../../../../../../class/gpio
-rw-r--r-- 1 root root 4096 Feb 23 08:06 uevent
-rw-r--r-- 1 root root 4096 Feb 23 08:06 value

root@linaro-ubuntu-desktop:/sys/class/gpio/gpio897# cat direction 
in

root@linaro-ubuntu-desktop:/sys/class/gpio/gpio897# cat value 
0

root@linaro-ubuntu-desktop:/sys/class/gpio/gpio897# echo low > direction 

root@linaro-ubuntu-desktop:/sys/class/gpio/gpio897# cat direction 
out

root@linaro-ubuntu-desktop:/sys/class/gpio/gpio897# cat value 
0

root@linaro-ubuntu-desktop:/sys/class/gpio/gpio897# echo high > direction                                                                                                                                    

root@linaro-ubuntu-desktop:/sys/class/gpio/gpio897# cat value 
1
resources/tools-software/linux-drivers/iio-dac/ad5592r.txt · Last modified: 19 Jan 2018 09:13 by Alexandru Ardelean

? 
正在值机是什么意思 心绞痛是什么症状 家有喜事指什么生肖 pda医学上是什么意思 贫血去医院挂什么科
眼睑是什么位置图片 左什么右什么 血蛋白低是什么原因 小孩缺锌吃什么补的快 甲状腺结节有什么症状
梦见狗追我是什么意思 痔疮什么样子 平均血红蛋白浓度偏低是什么意思 tc是什么 肝风内动是什么原因造成的
11月30是什么星座 开光的手串有什么禁忌 感冒鼻子不通气吃什么药 硝酸咪康唑乳膏和酮康唑乳膏有什么区别 1130是什么星座
弱的部首是什么hcv9jop8ns2r.cn 尖锐湿疣是什么hcv8jop7ns3r.cn 夜里2点到3点醒什么原因hcv9jop0ns5r.cn 为什么手臂上有很多很小的点gangsutong.com 肾有问题有什么症状liaochangning.com
守夜是什么意思hcv7jop5ns1r.cn 1997年的牛是什么命hcv9jop2ns4r.cn 七一是什么节hcv8jop8ns6r.cn 奥美拉唑什么时候吃最好hcv9jop4ns8r.cn 猪血不能和什么一起吃hcv8jop9ns2r.cn
偏光镜是什么意思hcv8jop0ns5r.cn 大便不成形是什么原因hcv7jop6ns5r.cn 立夏什么时候hcv7jop5ns4r.cn 藕粉是什么颜色hcv7jop9ns0r.cn 嘴唇发干是什么原因liaochangning.com
贻笑大方什么意思hcv9jop2ns4r.cn 鱼在鱼缸底部不动为什么hcv8jop9ns2r.cn 总出虚汗是什么原因hcv8jop3ns7r.cn 肌钙蛋白高是什么原因hcv8jop8ns4r.cn 做完无痛人流需要注意什么hcv9jop0ns5r.cn
百度