AT89C4051KEY BOARD IC73Pin ConfigurationPDIP/SOICRST/VPP 1(RXD) P3.0 2(TXD) P3.1 3XTAL2 4XTAL1 5( INT0 ) P3.2 6(TO) P3.4 8( INT1 ) P3.3 7(T1) P3.5 9GND 10 P3.711P1.0 (AIN0)12P1.1 (AIN1)13P1.214P1.315P1.416P1.517P1.618P1.719VCC20 RAM ADDR.REGISTER RMABREGISTER ACCTMP2 TMP1ALUPSWTIMINGANDCONTROLINSTRUCTIONREGISTEROSC+-ANALOGCOMPARATORPORT 1LATCHPORT 1 DRIVERS PORT 3 DRIVERSPORT 3LATCHINTERRUPT SERIAL PORTAND TIMER BLOCKSDPTRPROGRAMCOUNTERPCINCREMENTERBUFFERPROGRAMADDRESSREGISTERFLASHSTACKPOINTERP 1.0 - P 1.7 P 3.0 - P 3.5 P 3.7RSTVccGNDBlock Diagram14