摘要
在计算机的各种外部接口中 ,并口的速度最快 ,通常 CCD、视频采集、扫描仪等都使用了并口 ,并口边信的最大缺点是抗干扰差、传送距离短。计算机的并口有 SPP、PS/2、EPP和 ECP等工作模式 ,每种工作模式的工作寄存器各不相同。在 VC+ +中 ,提供了 — inp( )和—outp( )
Parallel port has a striking high speed in all kinds of interface, which is generally used in CCD, video collecting and scanner. But signals by parallel port are only transported to a short distance. Parallel port may work in one of the SPP, PS/2, EPP and ECP modes, which have apparently different registers. Visual C++ can directly control the parallel port for communication. The function of _inp() and _outp() can directly put in and put out data form and to parallel port
出处
《淮南工业学院学报》
CAS
2002年第2期33-37,共5页
Journal of Huainan Institute of Technology(Natural Science)