检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:宋晖[1]
机构地区:[1]西南科技大学计算机科学学院,四川绵阳621002
出 处:《兵工自动化》2004年第6期42-43,共2页Ordnance Industry Automation
摘 要:PC 并行打印口与多台下位单片机的通讯,将接口分成数据、状态、控制三组,由其寄存器分别控制。用 C 语言函数 outportb 和 inportb 读或写寄存器,输入或输出数据。PC 通过打印机控制口与 STROBE 发送信号,译码器产生选片信号,传给单片机 P3.2 端形成中断信号。单片机经 P1.0 反馈复位信号,PC 再发送中断脉冲,直到传送结束。接着发送片选信号给第二台进行数据传送,结束后再后传下一台。For communication among parallel print port of PC and multiple single-chips, interface is divided into data, state and control groups respectively controlled by each register. Register was read or written, and data was input or output with outportb and inportb function of C language. PC sent signal via print control port and STROBE, encoder generated choosing signal and sent it to P3.2-end of single-chip to form interrupt. Single-chip sent back replacement signal through P1.0, and then PC sent again interrupt as far as transmission end. PC sent again choosing signal to second single-chip to transmit data until ended last single-chip.
分 类 号:TP393.03[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15