登录
首页 » SCM » 由8051组成的单片机系统通常情况下,P0口分时复用作为地址、数据总线,P2口提供A15...

由8051组成的单片机系统通常情况下,P0口分时复用作为地址、数据总线,P2口提供A15...

于 2023-08-10 发布 文件大小:841.00 B
0 165
下载积分: 2 下载次数: 1

代码说明:

由8051组成的单片机系统通常情况下,P0口分时复用作为地址、数据总线,P2口提供A15-A8即高8位地址,P3口用作第二功能,只有P1口通常用作I/0口。P1口是8位准双向口,它的每一位都可独立地定义为输入或输出,因此既可作为8位的并行I/O口,也可作为8位的输入输出端。当工作在输入方式时,对应位的锁存器必须先置1,才能正确地读到引脚上的信号,否则,执行读引脚指令时,若对应位的锁存器的值为0,读的结果永远为0。-By 8051, composed of single-chip microcomputer system under normal circumstances, P0 timeshare I reuse as address, data bus, P2 I provide A15-A8 high eight address, P3 mouth for the second function, I usually only P1 for I/0 I. P1 I was eight quasi-two-way port, it can be independent of each and every defined as input or output, it can be used as 8-bit parallel I/O port, can also be used as 8-bit input and output side. When the work in the input, the corresponding bit latch must first buy one in order to correctly read the signal pin, or pin the implementation of reading instruction, if the corresponding bit latch the value of 0, Reading the results of Forever to 0.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • rc500 c语言库函数,对RC500的开发提供了捷径
    rc500 c语言库函数,对RC500的开发提供了捷径-rc500 c language library functions, the development of RC500 provides a shortcut
    2022-02-15 07:52:04下载
    积分:1
  • 16位单片机对AD9854控制的实现,主要用于凌阳16位单片机
    16位单片机对AD9854控制的实现,主要用于凌阳16位单片机
    2022-03-23 19:33:33下载
    积分:1
  • 430成都技术培训会代码,使用IAR
    430成都技术培训会代码,使用IAR-4.10打开。-430 technical training in Chengdu will be the code, the use of IAR-4.10 open.
    2023-02-26 21:20:04下载
    积分:1
  • 液晶显示器与单片机接口电路程序,实现液晶显示对于信号源发生信号的控制和显示...
    液晶显示器与单片机接口电路程序,实现液晶显示对于信号源发生信号的控制和显示-LCD and microcontroller interface circuit procedures, LCD occurred signal source for the control signal and display
    2022-05-10 15:39:45下载
    积分:1
  • 金鹏 LCD AVR 128 驱动程序 已经调试成功显示
    金鹏 LCD AVR 128 驱动程序 已经调试成功显示 -Jinpeng LCD AVR 128 Driver
    2022-03-25 11:09:13下载
    积分:1
  • 系统下,地球坐标转换的源代码,在WGS
    系统下,地球坐标转换的源代码,在WGS-84坐标和北京54坐标之间的一套转换参数,可以全国通用的,在每个地方会不一样,因为它们是两个不同的椭球基准。 // WGS2GK.CPP : C++ version of Ottmar Labonde s WGSDHDN3.PAS with CPU time measurement // compile with MS Visual C++ version 6.0 or do the necessary modifications for your compiler // // Conversion of -system, the Earth coordinates conversion source code, the WGS-84 coordinates and coordinate between Beijing 54 set conversion parameters can be nationwide, in every place to be different, because they are two different ellipsoid benchmarks.// WGS2GK.CPP : C version of Silverstone Labonde s WGSDHDN3.PAS with CPU time measurement// compile with MS Visual C version 6.0 or do the necessary modifications for your compiler//// Conversion of
    2022-03-26 04:25:06下载
    积分:1
  • 齐射
    salvo-tiny-avr是一个用在AVR上的开销极小的OS.-salvo-tiny-avr is an AVR used in a very small overhead on the OS.
    2022-09-25 03:10:03下载
    积分:1
  • C8051F411单片机的I2C接口通信程序,调试通过
    C8051F411单片机的I2C接口通信程序,调试通过-C8051F411 MCU I2C interface communication program, debugging through
    2022-08-10 16:53:02下载
    积分:1
  • MSP430系列单片机串口编程详细介绍,有实用的编例子和注释,很好的学习资料...
    MSP430系列单片机串口编程详细介绍,有实用的编例子和注释,很好的学习资料-MSP430 series microcontroller serial programming detailed description of the compilation of practical examples and notes, a very good learning materials
    2022-03-12 08:09:38下载
    积分:1
  • 这篇报告介绍了关于PIC单片机原理与应用。主要有以下几方面内容:1 利用PIC单片机的PC计数器及实时计数器计数或计时,利用LED数码管显示数据。 2.利用...
    这篇报告介绍了关于PIC单片机原理与应用。主要有以下几方面内容:1 利用PIC单片机的PC计数器及实时计数器计数或计时,利用LED数码管显示数据。 2.利用PIC单片机进行各种信号、数据的采集。 3.利用单片机的控制功能实现控制。 4.了解其硬件上各引脚输入输出口,充分掌握其各个指令和基础编程,以及一些简单的应用。 5.利用EEPROM实现单片机的数据掉电保存及利用I2C模式进行通讯。 -This report describes the PIC microcontroller on the Theory and Application. Mainly the following aspects : the use of a PIC microcontroller and the real-time counter PC Counting or time, use of digital LED display data. 2. PIC for the use of the signals, and data acquisition. 3. Microprocessor control functions to achieve control. 4. Understanding of the various hardware input and output pins I fully understand the basis for all orders and programming, and some simple applications. 5. MCU use EEPROM data preservation and the use of power-down mode I2C communications.
    2023-04-06 09:15:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载