文件名称:74HC595
- 所属分类:
- 单片机(51,AVR,MSP430等)
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-05-14
- 文件大小:
- 82kb
- 下载次数:
- 0次
- 提 供 者:
- c**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在做一个项目应用时,使用的I/O较多,应用到了74595来做扩展,但是若要挂接多片74595,势必也要多用到I/O口,为了解决这个问题,我将每2片74595做级联,然后再将级联之后的所有时钟线与数据再并联在一起(即所有的74595共用时钟与数据线,故只占用2个I/O口线),最后对每一组的锁存控制线做单独控制(在这里也相当于片选了),这样一来硬件电路得到了很大程度的简化,同时在程序上也可以共用一个74595的驱动子程序,控制不同的锁存控制线,串行数据也就送到了不同74595级联模组端口。故此对硬件与软件都有很大程度的优化。-Application to do a project, the more I/O, applied to the 74,595 to do the extension, but you want to mount multi-chip 74595, is bound to have a lot to use the I/O port, in order to solve this problem, I will be every 2 sheet 74595 do cascade, and then cascade after all the clock line and the data in parallel and then together (i.e., all 74595 communal clock and data lines, it only occupies two I/O port lines) Finally, for each group latch control lines do individually controlled (equivalent to Chip Select), so that a hardware circuit by a great degree of simplification, both procedures can also share a driving subroutine 74595, to control the type of lock inventory control line, serial data is sent to the port 74595 cascade module. As a result of the hardware and software have a large degree of optimization.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
soft\current.cod
....\current.cof
....\current.hex
....\current.lde
....\current.mcp
....\current.mcs
....\current.mcw
....\current.sym
....\Current_test.c
....\Current_test.cce
....\Current_test.lst
....\Current_test.obj
....\Current_test.rlf
....\Current_test.sdb
....\pic168xa.h
....\pic16f887.h
电路\DP74595.DSN
....\DP74595.PWI
....\Last Loaded DP74595.DBK
soft
电路