cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

ep93xx_adc.rst (1543B)


      1.. include:: ../disclaimer-zh_CN.rst
      2
      3:Original: Documentation/iio/ep93xx_adc.rst
      4
      5:翻译:
      6
      7 司延腾 Yanteng Si <siyanteng@loongson.cn>
      8
      9.. _cn_iio_ep93xx_adc:
     10
     11==================================
     12思睿逻辑 EP93xx 模拟数字转换器驱动
     13==================================
     14
     151. 概述
     16=======
     17
     18该驱动同时适用于具有5通道模拟数字转换器的低端 (EP9301, Ep9302) 设备和10通道
     19触摸屏/模拟数字转换器的高端设备(EP9307, EP9312, EP9315)。
     20
     212. 通道编号
     22===========
     23
     24EP9301和EP9302数据表定义了通道0..4的编号方案。虽然EP9307, EP9312和EP9315多
     25了3个通道(一共8个),但是编号并没有定义。所以说最后三个通道是随机编号的。
     26
     27如果ep93xx_adc是IIO设备0,您将在以下位置找到条目
     28/sys/bus/iio/devices/iio:device0/:
     29
     30  +-----------------+---------------+
     31  | sysfs 入口      | ball/pin 名称 |
     32  +=================+===============+
     33  | in_voltage0_raw | YM            |
     34  +-----------------+---------------+
     35  | in_voltage1_raw | SXP           |
     36  +-----------------+---------------+
     37  | in_voltage2_raw | SXM           |
     38  +-----------------+---------------+
     39  | in_voltage3_raw | SYP           |
     40  +-----------------+---------------+
     41  | in_voltage4_raw | SYM           |
     42  +-----------------+---------------+
     43  | in_voltage5_raw | XP            |
     44  +-----------------+---------------+
     45  | in_voltage6_raw | XM            |
     46  +-----------------+---------------+
     47  | in_voltage7_raw | YP            |
     48  +-----------------+---------------+