您的位置:首页 > 其它

Documentation/smsc_ece1099.txt

2013-10-25 08:55 323 查看
Chinese translated version of Documentation/smsc_ece1099.txt

If you have any comment or update to the content, please contact the

original document maintainer directly. However, if you have a problem

communicating in English you can also ask the Chinese maintainer for

help. Contact the Chinese maintainer if this translation is outdated

or if there is a problem with the translation.

Chinese maintainer: 秦芹 18768122412@163.com

---------------------------------------------------------------------

Documentation/smsc_ece1099.txt的中文翻译

如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文

交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻

译存在问题,请联系中文版维护者。

中文版维护者: 秦芹 18768122412@163.com

中文版翻译者:秦芹 18768122412@163.com

以下为正文

---------------------------------------------------------------------

What is smsc-ece1099?

什么是smsc-ece1099?

----------------------

The ECE1099 is a 40-Pin 3.3V Keyboard Scan Expansion

or GPIO Expansion device. The device supports a keyboard

scan matrix of 23x8. The device is connected to a Master

via the SMSC BC-Link interface or via the SMBus.

ECE1099是一个40引脚3.3V键盘,扫描扩展或GPIO扩展的设备。该设备支持

23X8的扫描矩阵。它通过SMSC BC-Link接口或者SMBus总线连接到主设备。

Keypad scan Input(KSI) and Keypad Scan Output(KSO) signals

are multiplexed with GPIOs.

键盘扫描输入(KSI)和键盘扫描输出(KSO)信号都是复用GPIOs。

Interrupt generation

中断的产生

--------------------

Interrupts can be generated by an edge detection on a GPIO

pin or an edge detection on one of the bus interface pins.

Interrupts can also be detected on the keyboard scan interface.

The bus interrupt pin (BC_INT# or SMBUS_INT#) is asserted if

any bit in one of the Interrupt Status registers is 1 and

the corresponding Interrupt Mask bit is also 1.

中断由GPIO引脚的边缘检测或者总线接口引脚的边缘检测产生。

中断也可以在键盘扫描接口时被监测出来。

总线中断引脚(BC_INT# or SMBUS_INT#)声明:如果中断状态寄存器任何一位置1,

则相应的中断屏蔽位也是1.

In order for software to determine which device is the source

of an interrupt, it should first read the Group Interrupt Status Register

to determine which Status register group is a source for the interrupt.

Software should read both the Status register and the associated Mask register,

then AND the two values together. Bits that are 1 in the result of the AND

are active interrupts. Software clears an interrupt by writing a 1 to the

corresponding bit in the Status register.

就软件来说,为了确定设备的中断源,它首先读组中断状态寄存器来确定

哪一个状态寄存器组是中断源。 软件应该读状态寄存器和相关的屏蔽寄存器,

然后,将两个寄存器的值相与。相与的结果状态为1,表示是该位是有源中断。

软件清理中断是通过写1到状态寄存器的相应位。

Communication Protocol

通信协议

----------------------

- SMbus slave Interface

SMbus从接口

The host processor communicates with the ECE1099 device

through a series of read/write registers via the SMBus

interface. SMBus is a serial communication protocol between

a computer host and its peripheral devices. The SMBus data

rate is 10KHz minimum to 400 KHz maximum

主机处理器用通过一系列依据SMBus接口的读写寄存器的ECE1099设备通信。

SMBus是一系列电脑主机和外围设备之间的通信协议。总线传送速率是10KHz到400KHz。

- Slave Bus Interface

从总线接口

The ECE1099 device SMBus implementation is a subset of the

SMBus interface to the host. The device is a slave-only SMBus device.

The implementation in the device is a subset of SMBus since it

only supports four protocols.

ECE1099移动设备SMBus的实现是SMBus接口到主机的子集。该设备是唯一的

从属SMBus设备。设备实施是SMBus的子集,因为它是唯一支持四种协议的设备。

The Write Byte, Read Byte, Send Byte, and Receive Byte protocols are the

only valid SMBus protocols for the device.

写字节,读字节,发送字节和接收字节协议是该设备唯一有效的SMBus协议。

- BC-LinkTM Interface

BC-LinkTM接口

The BC-Link is a proprietary bus that allows communication

between a Master device and a Companion device. The Master

device uses this serial bus to read and write registers

located on the Companion device. The bus comprises three signals,

BC_CLK, BC_DAT and BC_INT#. The Master device always provides the

clock, BC_CLK, and the Companion device is the source for an

independent asynchronous interrupt signal, BC_INT#. The ECE1099

supports BC-Link speeds up to 24MHz.

BC-Link是一个专有的通信总线,允许主设备和配套设备之间的通信。

主设备使用位于配套设备上的串行总线来读写寄存器。总线包含三个信号,

分别是BC_CLK, BC_DAT和BC_INT#。主设备总是提供时钟信号BC_CLK,

配套设备是独立于异步中断信号(BC_INT#)的来源。ECE1099设备支

持BC-Link的速度可达到24MHz。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: