摘要
51单片机中有四个8位的并行I/O口,分别为P0、P1、P2和P3。这四个并行的I/O口在对51单片机的开发中有着非常重要的地位,它们都可以作为普通的I/O口使用,P0口又可以作为地址/数据总线使用,P2口又可以作为高8位地址线使用等等。本文主要分析P0口和P2口作为普通I/O口的使用。
The 51 SCM has four 8 bit parallel I/O ports: P0, P1, P2 and P3. These ports are very important to the development of 51 SCM. They can be used as the common I/O ports. And P0 can also be used as address/data bus, while P2 can also be used as high 8-bit address line and so on. This paper mainly analyzes the use of P0 and P2 as ordinary I/O port.
出处
《电脑与电信》
2013年第4期71-73,共3页
Computer & Telecommunication