【正文】
流只能幾毫安,用作輸出口時接一個普通的晶體管,要穩(wěn)定使用,還要接一定電阻。作為輸入口時,所有TTL或NMOS電路都可以驅(qū)動一個正常的方式8051 P3口作為單片機的P1口。每個端口包括一個鎖存器(即特殊功能寄存器),一個出口驅(qū)動器和引進緩沖器。CPU的訪問內(nèi)存時,訪問ROM使用MOVC語句,訪問RAM塊順序使用片外操作的MOVX語句,訪問內(nèi)存片段使用MOV語句。但從用戶的使用角度看,8051存儲器地址空間被分成三類:(1)片內(nèi),安排FFFFH的塊,片外的(使用16個地址)串口0000H地址。一般電腦會自動分配地址空間,ROM和RAM的計算機可以安排在不同的空間內(nèi),地址范圍會根據(jù)ROM和RAM的位置分配不同地址空間。8051和8751的程序存儲器的存儲容量為4KB,地址從0000H開始,在使用過程中其中的數(shù)據(jù)不變。在8051芯片震蕩電路中,需要外接石英晶體和微調(diào)電容,—12MHz。和通常的微處理器一樣,它是最繁忙的寄存器。上述部分通過內(nèi)部數(shù)據(jù)總線連接。(5)2個定時器/計數(shù)器,每個定時器/計數(shù)器可設(shè)置計數(shù)用來計數(shù)外部事件,可以設(shè)置成常用的定時方式,并可以根據(jù)計算或結(jié)果控制單片機的運行。(2)靜態(tài)隨機存取存儲器,能夠儲存程序運行過程中產(chǎn)生的數(shù)據(jù)。這家公司在1976年引入8位MCS 48系列單片機后,于1980年又推出了8位高檔的MCS 51系列單片機。 P0 mouth is a twoway bus, send the introduction of 8 low addresses and data / export in timesharing Output grade, P3 of mouth, P1 of P1, connect with inside have load resistance of drawing, every one of they can drive 4 Model LS TTL load to output. As while inputting the mouth, any TTL or NMOS circuit can drive P1 of 8051 onechip puters as P3 mouth in a normal way. Because draw resistance on output grade of them have, can open a way collector too or drainsource resistance is it urge to open a way, do not need to have the resistance of drawing auto. Mouths are all accurate twoway mouths too. When the conduct is input, must write the corresponding port latch with 1 first. As to 80C51 onechip puter, port can only offer millimeter of output electric currents, is it output mouth go when urging one ordinary basing of transistor to regard as, should contact a resistance among the port and transistor base, in order to the electricity while restraining the high level from exporting P1~P3 Being restored to the throne is the operation of initializing of an onechip puter. Its main function is to turn PC into 0000H initially, make the onechip puter begin to hold the conduct procedure from unit 0000H. Except that the ones that enter the system are initialized normally, as because procedure operate it make mistakes or operate there aren39。s accumulation device ACC, register B and procedure state register PSW, etc. Person who accumulate ACC count by 2 input ends entered of checking etc. temporarily as one operation often, e from person who store 1 operation is it is it make operation to go on to count temporarily , operation result and loop back ACC with another one. In addition, ACC is often regarded as the transfer station of data transmission on 8051 inside. The same as general microprocessor, it is the busiest register. Help remembering t