The 74hc573 is a 8-bit, 3-state logic chip with latched high speed. The following describes the use.
Parametric VCC 2~6vi in +-20mai out +-35mA
PIN Diagram and PIN action
Oe:1 PIN, tri-state control pin. For 0 o'clock, enable output. At 1 o'clock, the output is a high impedance state. always use a low level, so that the chip is controlled .
Le:11 pin, latched enable PIN. For 1 o'clock, the output follows the output, the input is not latched, the input is what, the output is what.
For 0 o'clock, the input lock is in the internal 8-bit latch, and at this point the output is the last latched signal value regardless of the input signal.
Dx: for 8-bit data input pins
Qx:8 bit signal output pin
Use
Role:
1, time-sharing reuse (this is its main purpose).
2, enhance the general IO port current drive capability
The following is the use of 2-piece 573-time multiplexing P0 port, to control the 8-digit display of digital tube solution.
Here is an example: control 8 led intermittent flashing.
#include <reg52.h>#defineDATAs P2sbit le_573= p0^0; /***********function****************/voidDelay (unsignedintt);/****************************/voidMainvoid) {DATAs=0; //datas is the P2 mouth, P2 Connect 2 LEDs to the positive. le_573=1; //p0.0 control le. Output following input for(;1;) {DATAs= -;//Binary : 0101 0101Delay +); DATAs= the;//Binary : 1010 1010Delay +); }}voidDelay (unsignedintt) {unsignedinti; unsignedCharJ; for(i=t;i>0;--i) for(j= the;j>0;--j); }
"C51" 74hc573 chip