[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-562631-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-562631-en":130,"doc-similar-562631":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","at89c2051-description-pin-configuration","AT89C2051 - Description - Pin Configuration","","AT89C2051 is a low-voltage, high-performance CMOS 8-bit microcontroller featuring 2K bytes of Flash programmable memory and compatibility with the MCS-51 instruction set. Core capabilities include 128 bytes of internal RAM, 15 programmable I/O lines, two 16-bit timer/counters, and a two-level interrupt architecture with serial UART support. It supports static operation down to zero frequency, plus Idle and Power-down power-saving modes, and includes on-chip analog comparator and LED direct drive outputs.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/at89c2051-description-pin-configuration/562631/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/at89c2051-description-pin-configuration/562631.png","ImageObject",300,407,{"name":42,"@type":43},"OmBimo","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-26","2026-10-12",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",8,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What memory and I/O resources does the AT89C2051 provide?","Question",{"text":63,"@type":64},"It includes 2K bytes of Flash program memory and 128 bytes of internal RAM, with 15 programmable I/O lines plus direct LED drive outputs.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How do the Idle and Power-down modes affect operation?",{"text":68,"@type":64},"Idle stops the CPU while keeping RAM, timer/counters, serial port, and interrupts active. Power-down preserves RAM contents but freezes the oscillator until the next hardware reset.",{"name":70,"@type":61,"acceptedAnswer":71},"How are the oscillator inputs XTAL1 and XTAL2 used?",{"text":72,"@type":64},"XTAL1 is the input to the inverting oscillator amplifier and internal clock circuitry, while XTAL2 is the amplifier output. For an external clock, XTAL2 is left unconnected and XTAL1 is driven.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},562631,1791863686,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":127,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":143,"read_time":144,"preview_page_count":33,"preview_urls":145},962090893581,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Features  \n• Compatible with MCS®-51Products  \n• 2K Bytes of Reprogrammable Flash Memory  \n– Endurance: 10,000 Write/Erase Cycles  \n• 2.7V to 6V Operating Range  \n• Fully Static Operation: 0 Hz to 24 MHz  \n• Two-level Program Memory Lock  \n• 128 x 8-bit Internal RAM  \n• 15 Programmable I/O Lines  \n• Two 16-bit Timer/Counters  \n• Six Interrupt Sources  \n• Programmable Serial UART Channel  \n• Direct LED Drive Outputs  \n• On-chip Analog Comparator  \n• Low-power Idle and Power-down Modes  \n• Green (Pb/Halide-free) Packaging Option  \n1. Description  \nThe AT89C2051 is a low-voltage, high-performance CMOS 8-bit microcomputer with 2K bytes of Flash programmable and erasable read-only memory (PEROM) . The device is manufactured using Atmel’s high-density nonvolatile memory technology and is compatible with the industry-standard MCS-51 instruction set. By combining a versatile 8-bit CPU with Flash on a monolithic chip, the Atmel AT89C2051 is a powerful microcomputer which provides a highly-flexible and cost-effective solution to many embedded control applications.  \nThe AT89C2051 provides the following standard features: 2K bytes of Flash, 128 bytes of RAM, 15 I/O lines, two 16-bit timer/counters, a five vector two-level interrupt architecture, a full duplex serial port, a precision analog comparator, on-chip oscillator and clock circuitry. In addition, the AT89C2051 is designed with static logic for operation down to zero frequency and supports two software selectable power saving modes. The Idle Mode stops the CPU while allowing the RAM, timer/counters, serial port and interrupt system to continue functioning. The power-down mode saves the RAM contents but freezes the oscillator disabling all other chip functions until the next hardware reset.  \n8-bit Microcontroller with 2K Bytes Flash  \nAT89C2051  \n0368H–MICRO–6/08  \n2 . Pin Configuration  \n2.1 20-lead PDIP/SOIC  \nRST/VPP (RXD) P3 .0  \n(TXD) P3 .1 XTAL2  \nXTAL1 (INT0) P3 .2  \n(INT1) P3 .3 (TO) P3 .4  \n(T1) P3 .5 GND  \n\n| 1 2\u003Cbr>3 4\u003Cbr>5 6\u003Cbr>7 8\u003Cbr>9\u003Cbr>10 | 20\u003Cbr>19\u003Cbr>18\u003Cbr>17\u003Cbr>16\u003Cbr>15\u003Cbr>14\u003Cbr>13\u003Cbr>12\u003Cbr>11 |\n| --- | --- |\n\nVCC  \nP1 .7  \nP1 .6  \nP1 .5  \nP1 .4  \nP1 .3  \nP1 .2  \nP1 .1 (AIN1)  \nP1 .0 (AIN0) P3.7  \n3 . Block Diagram  \n2 AT89C2051   \n0368H–MICRO–6/08  \n4 . Pin Description  \n4.1 VCC  \nSupply voltage.  \n4.2 GND  \nGround.  \n4.3 Port 1  \nThe Port 1 is an 8-bit bi-directional I/O port. Port pins P1 .2 to P1 .7 provide internal pull-ups. P1 .0 and P1 .1 require external pull-ups. P1 .0 and P1 .1 also serve as the positive input (AIN0) and the negative input (AIN1), respectively, of the on-chip precision analog comparator. The Port 1 output buffers can sink 20 mA and can drive LED displays directly. When 1s are written to Port 1 pins, they can be used as inputs. When pins P1 .2 to P1 .7 are used as inputs and are externally pulled low, they will source current (IIL) because of the internal pull-ups.  \nPort 1 also receives code data during Flash programming and verification.  \n4.4 Port 3  \nPort 3 pins P3 .0 to P3 .5, P3 .7 are seven bi-directional I/O pins with internal pull-ups. P3 .6 is hard-wired as an input to the output of the on-chip comparator and is not accessible as a general-purpose I/O pin. The Port 3 output buffers can sink 20 mA. When 1s are written to Port 3 pins they are pulled high by the internal pull-ups and can be used as inputs. As inputs, Port 3 pins that are externally being pulled low will source current (IIL) because of the pull-ups.  \nPort 3 also serves the functions of various special features of the AT89C2051 as listed below:  \n\n| Port Pin | Alternate Functions |\n| --- | --- |\n| P3.0 | RXD (serial input port) |\n| P3.1 | TXD (serial output port) |\n| P3.2 | INT0 (external interrupt 0) |\n| P3.3 | INT1 (external interrupt 1) |\n| P3.4 | T0 (timer 0 external input) |\n| P3.5 | T1 (timer 1 external input) |\n\nPort 3 also receives some control signals for Flash programming and verification.  \n4.5 RST  \nReset input. All I/O pins are reset to 1s as soon as ","cbCaimQzjE0c9Nbc","https://ap.wps.com/l/cbCaimQzjE0c9Nbc","pdf",390845,"English","# Features\n# Description\n# 2. Pin Configuration\n## 2.1 20-lead PDIP/SOIC\n# 3. Block Diagram\n# 4. Pin Description\n## 4.1 VCC\n## 4.2 GND\n## 4.3 Port 1\n## 4.4 Port 3\n## 4.5 RST\n## 4.6 XTAL1\n## 4.7 XTAL2\n# 5. Oscillator Characteristics\n# 6. Special Function Registers","[{\"question\":\"What memory and I/O resources does the AT89C2051 provide?\",\"answer\":\"It includes 2K bytes of Flash program memory and 128 bytes of internal RAM, with 15 programmable I/O lines plus direct LED drive outputs.\"},{\"question\":\"How do the Idle and Power-down modes affect operation?\",\"answer\":\"Idle stops the CPU while keeping RAM, timer/counters, serial port, and interrupts active. Power-down preserves RAM contents but freezes the oscillator until the next hardware reset.\"},{\"question\":\"How are the oscillator inputs XTAL1 and XTAL2 used?\",\"answer\":\"XTAL1 is the input to the inverting oscillator amplifier and internal clock circuitry, while XTAL2 is the amplifier output. For an external clock, XTAL2 is left unconnected and XTAL1 is driven.\"}]","AT89C2051 - Description - Pin Configuration | PDF",1791809135,48,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3d5688b36ac61b5170cfeabb603e2dc0.webp",983,1272,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/a807473cdb0d2854a4448d5c796109c6.webp",982,1270,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/08978d4ba6b9cb0931fb0ea2c028c565.webp",981,1269,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/770d4e18f9d261dc6765bb9d5ca87485.webp",980,1268,{"list":163,"token":11},[164,170,176,182,188,194,200,207,213,220],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":102,"category_name":29,"create_tm":169},720396,"ATmega32 - AVR 8-bit Microcontroller Features","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024394337/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=mp9dhoqzEU9gilmlv98pZA2OFBU%3D","atmega32-avr-8-bit-microcontroller-features",1795037091,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":115,"category_name":29,"create_tm":175},562128,"SH88F2051A/4051A - Enhanced 8051 Microcontroller with 10bit ADC","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947794713/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=yjifgEQaaotEHuI0VirwGqmqeTw%3D","sh88f2051a4051a-enhanced-8051-microcontroller-with-10bit-adc",1791807784,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":97,"category_name":29,"create_tm":181},720203,"ATmega328P - Datasheet - Automotive 8-bit AVR Microcontroller","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230024387906/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=Dex%2F25LdbuhHp%2FEdF4QoBWd6IKc%3D","atmega328p-datasheet-automotive-8-bit-avr-microcontroller",1795035377,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":102,"category_name":29,"create_tm":187},689861,"ATtiny25/45/85 - Datasheet Summary - Key Features","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002163102/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=aB3Y4Q%2FHUiGRj%2FXu%2BD0whTj4xTU%3D","attiny254585-datasheet-summary-key-features",1794129865,{"doc_id":189,"doc_title":190,"file_type":137,"home_preview_img_url":191,"slug":192,"view_count":123,"category_name":29,"create_tm":193},558896,"EM78P153S - Version 1.4 - 8-bit Micro-controller OTP-ROM Specification","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947572101/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=srZOWdTdcMvy5vB%2B561eekpxuiM%3D","em78p153s-version-14-8-bit-micro-controller-otp-rom-specification",1791800016,{"doc_id":195,"doc_title":196,"file_type":137,"home_preview_img_url":197,"slug":198,"view_count":33,"category_name":29,"create_tm":199},689862,"Atmel 8-bit AVR Microcontroller with 2/4/8K Bytes In-System Programmable Flash - ATtiny25/45/85 Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002163104/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=OkpcmiVxkxvAPKcZyFBNLbzxkEE%3D","atmel-8-bit-avr-microcontroller-with-248k-bytes-in-system-programmable-flash-attiny254585-datasheet",1794129868,{"doc_id":201,"doc_title":202,"file_type":137,"home_preview_img_url":203,"slug":204,"view_count":205,"category_name":29,"create_tm":206},562636,"PIC12F629/675 - 8-Pin FLASH-Based 8-Bit CMOS Microcontroller - High Performance RISC CPU","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229947820861/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=rt74%2BMRG6yHRqlui8uEw7DnXWkw%3D","pic12f629675-8-pin-flash-based-8-bit-cmos-microcontroller-high-performance-risc-cpu",11,1791809150,{"doc_id":208,"doc_title":209,"file_type":137,"home_preview_img_url":210,"slug":211,"view_count":123,"category_name":29,"create_tm":212},700197,"S124 Microcontroller Group - Datasheet - Rev.1.40","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012016722/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=I%2BAW5FHTZ6T5fSmtVjqM5cQdSv4%3D","s124-microcontroller-group-datasheet-rev140",1794516763,{"doc_id":214,"doc_title":215,"file_type":137,"home_preview_img_url":216,"slug":217,"view_count":218,"category_name":29,"create_tm":219},690266,"PSoC 4: PSoC 4200DS Family Datasheet","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002607521/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=nYAQocFGcOgPgUxXh4V4%2FkcWolc%3D","psoc-4-psoc-4200ds-family-datasheet",12,1794160150,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":106,"category_name":29,"create_tm":225},692058,"PSoC™ 4200M - Datasheet - English","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002893516/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109359&Signature=7JxmFk8PCtsH34N8pNTa0a2x%2FuU%3D","psoc-4200m-datasheet-english",1794178064]