8051 管脚定义_8051微控制器的引脚说明
8051 管腳定義
8051微控制器的引腳說明 (Pin Description of 8051 Microcontroller)
Pins from 1-8
1-8針
Port 1: The pins in this port are bi-directional and can be used for input and output. The pins are individually controlled; some are used for input while others are used for output purposes.
端口1:此端口中的引腳是雙向的,可用于輸入和輸出。 引腳是獨立控制的; 有些用于輸入,而另一些用于輸出。
Pin 9
銷9
This pin is also called ‘Reset Pin’. This is used for resetting the microcontroller to its initial values. If the pin is set at logic 0, the chip runs normally. When the oscillator is running, setting the pin at logic 1 for more than two machine cycles will reset the microcontroller.
該引腳也稱為“復位引腳”。 這用于將微控制器重置為其初始值。 如果該引腳設置為邏輯0,則芯片正常運行。 當振蕩器運行時,將引腳設置為邏輯1超過兩個機器周期將使微控制器復位。
Pins from 10-17
10至17針
PORT 3: These pins are same as pins in port 1 because of their bidirectional input port.
端口3:由于它們的雙向輸入端口,這些引腳與端口1中的引腳相同。
Pin 10 and Pin 11 perform receiving and transmitting operation of serial data using ‘RS-232’ protocol.
引腳10和引腳11使用'RS-232'協(xié)議執(zhí)行串行數(shù)據(jù)的接收和發(fā)送操作。
Pin 12 and Pin 13 are used to interrupt inputs.
引腳12和引腳13用于中斷輸入。
Pin 14 and Pin 15 perform alternative functions linked with Timer 0 and Timer 1.
引腳14和引腳15執(zhí)行與定時器0和定時器1鏈接的替代功能。
Pin 16 and Pin 17 are used when working with external memory.
當使用外部存儲器時,使用引腳16和引腳17。
Pins from 18-19
18-19歲的別針
The pins are used for connecting an external crystal oscillator module with the microcontroller.
這些引腳用于將外部晶體振蕩器模塊與微控制器連接。
Pin 20
銷20
Also called Vss. This is the ground pin that represents 0V.
也稱為Vss。 這是代表0V的接地引腳。
Pins from 21-28
21-28歲的別針
PORT 2: These are another set of bidirectional input port, they are used when processing external memory. Higher order address bus signals are multiplexed with this quasi-bidirectional port.
端口2:這是另一組雙向輸入端口,在處理外部存儲器時使用。 高階地址總線信號與該準雙向端口復用。
Pin 29
銷29
Also called PSEN (Program Store Enable) it controls and manages the access to external CODE memory.
也稱為PSEN(啟用程序存儲),它控制和管理對外部CODE存儲器的訪問。
Pin 30
銷30
Named as Address Latch Enable (ALE). It is used when working with external memory. ALE activity is disabled in some devices where external memory is not used. Thus helping in reducing the electromagnetic interference generated by the product.
命名為地址鎖存啟用(ALE)。 在使用外部存儲器時使用。 在某些不使用外部存儲器的設備中,ALE活動被禁用。 從而有助于減少產(chǎn)品產(chǎn)生的電磁干擾。
Pin 31
銷31
Named as External Access (EA). In order to execute code from internal memory this pin is connected to Vcc. To execute code from external memory the pin must be grounded.
命名為外部訪問(EA)。 為了從內(nèi)部存儲器執(zhí)行代碼,該引腳連接到Vcc。 要從外部存儲器執(zhí)行代碼,該引腳必須接地。
Pins from 32-39
32-39針
Port 0: These are set of another bidirectional input port. Unlike Port 1, Port2 and Port 3 this port lacks pull-up resistors.
端口0:這些是另一個雙向輸入端口的設置。 與端口1,端口2和端口3不同,該端口沒有上拉電阻。
Pin 40
銷40
Named as Vcc. This is usually a 5V pin on 5V devices and 3V pin on 3V devices.
命名為Vcc。 這通常是5V設備上的5V引腳和3V設備上的3V引腳。
I/O Pins
I / O引腳
The 8051 microcontrollers are mostly 8-bit ports, thus giving a total of 32 pins which you can use to read input and control output. All of them are bidirectional in nature so they can perform as both input and output. Some of the ports perform alternate functions as discussed above such as to support access to external memory. This is done to reduce the size of the microcontroller device. When these ports are busy in performing their alternate functions, they can not be made to act as input-output ports.
8051微控制器主要是8位端口,因此共有32個引腳,可用于讀取輸入和控制輸出。 所有這些本質(zhì)上都是雙向的,因此它們既可以用作輸入也可以用作輸出。 一些端口執(zhí)行上述備用功能,例如支持對外部存儲器的訪問。 這樣做是為了減小微控制器設備的尺寸。 當這些端口忙于執(zhí)行其替代功能時,不能使它們充當輸入輸出端口。
翻譯自: https://www.includehelp.com/embedded-system/pin-description-of-8051-microcontroller.aspx
8051 管腳定義
創(chuàng)作挑戰(zhàn)賽新人創(chuàng)作獎勵來咯,堅持創(chuàng)作打卡瓜分現(xiàn)金大獎總結(jié)
以上是生活随笔為你收集整理的8051 管脚定义_8051微控制器的引脚说明的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: java计算时间差距_硬计算和软计算之间
- 下一篇: Java Integer类highest