RISC狀態(tài)機由三個功能單元構(gòu)成:處理器、控制器和存儲器。 RISC狀態(tài)機經(jīng)優(yōu)化可實現(xiàn)高效的流水線操作。 RISC 中的數(shù)據(jù)線為16位。 在數(shù)據(jù)存儲器中的0到15的位置放置16個隨機數(shù),求16個數(shù)的和,放在數(shù)據(jù)存儲器的16、17的位置,高位在前 對這16個數(shù)進(jìn)行排序,從大到小放置在18到33的位置 求出前16個數(shù)的平均數(shù),放在34的位置 基本指令有NOP, ADD, SUB, AND, RD, WR, BR,BC。 因為采用16位指令,有擴(kuò)充的余地。
標(biāo)簽: RISC 狀態(tài) 處理器 控制器
上傳時間: 2013-11-29
上傳用戶:縹緲
51單片連tcs230的源程序,絕對原創(chuàng),可以記憶顏色。 #define uchar unsigned char #include <reg52.h> #include<math.h> sbit S0=P1^7 sbit S1=P1^0 //端口定義 sbit S2=P1^1 sbit S3=P1^2 sbit OE=P1^3 sbit OUT=P3^4 //頻率從TO口輸入 sbit key0=P1^5 sbit LED=P1^6 sbit a=P3^0 sbit b=P3^1 uchar color //1:blue 2:green 3:red uchar T[4] //color timer uchar TH[4] uchar TL[4] uchar bizhi[4] void time1() interrupt 3 { TH[color]=TH0 TL[color]=TL0 T[color]=(TH[color]*0xff+TL[color]) TR0=0 //關(guān)定時器 TR1=0 TH1=0xB1 TL1=0xE0 //歸0 TH0=0x00 TL0=0x00 //歸0 }
上傳時間: 2016-11-26
上傳用戶:秦莞爾w
selects the mux channel and configures the MAX197 for second write pulse, written with ACQMOD = 0, termi- either unipolar or bipolar input range. A write pulse (WR nates acquisition and starts conversion on WR°Os risin + CS) can either start an acquisition interval or initiate a edge (Figure 6). However, if the second control byte combined acquisition plus conversion. The sampling contains ACQMOD = 1, an indefinite acquisition interval interval occurs at the end of the acquisition interval. is restarted. The ACQMOD bit in the input control byte offer
標(biāo)簽: configures the selects channel
上傳時間: 2013-12-09
上傳用戶:
selects the mux channel and configures the MAX197 for second write pulse, written with ACQMOD = 0, termi- either unipolar or bipolar input range. A write pulse (WR nates acquisition and starts conversion on WR°Os risin + CS) can either start an acquisition interval or initiate a edge (Figure 6). However, if the second control byte combined acquisition plus conversion. The sampling contains ACQMOD = 1, an indefinite acquisition interval interval occurs at the end of the acquisition interval. is restarted. The ACQMOD bit in the input control byte offer
標(biāo)簽: configures the selects channel
上傳時間: 2016-12-24
上傳用戶:朗朗乾坤
selects the mux channel and configures the MAX197 for second write pulse, written with ACQMOD = 0, termi- either unipolar or bipolar input range. A write pulse (WR nates acquisition and starts conversion on WR°Os risin is restarted. The ACQMOD bit in the input control byte offer+ CS) can either start an acquisition interval or initiate a edge (Figure 6). However, if the second control byte combined acquisition plus conversion. The sampling contains ACQMOD = 1, an indefinite acquisition interval interval occurs at the end of the acquisition interval.
標(biāo)簽: configures the selects channel
上傳時間: 2016-12-24
上傳用戶:yzhl1988
1) 兼容FAT16文件系統(tǒng),長文件名,最大路徑長度260個字節(jié),符合Microsoft Longfilename specification。 2) 可移植于各種平臺,只需編寫sector驅(qū)動驅(qū)動,共計兩個函數(shù):1)read_flash_sector() 2)write_flash_sector()。 3) 文件緩沖功能:1)讀文件時,讀位置在文件緩沖區(qū)內(nèi),則可直接讀文件緩沖區(qū),不需要讀物理磁盤;文件緩沖區(qū)大小可使用編譯宏EnableFileBuf,TotalFileBUFsQTYeachFCB,F(xiàn)ileBUFSize來控制。 4) 可同時打開多個文件;最大打開文件數(shù)可使用編譯宏MaximumFCB設(shè)定,MaximumFCB最大值限定為254。 5) 文件保護(hù)功能:文件可同時打開多個FCB,而只有其中一個FCB可以得到文件RD/WR權(quán)限。該功能完全由文件系統(tǒng)代碼來完成,上層應(yīng)用無需編寫額外代碼。 6) 所有編譯宏存放于文件fat_cfg.h。 (本代碼只供測試,研究,設(shè)計使用,如需用于商業(yè)應(yīng)用,請與作者聯(lián)系購買許可,qq:292942278,E-MAIL:tony_yang123@sina.com.cn)
標(biāo)簽: FAT 16 兼容 文件系統(tǒng)
上傳時間: 2017-01-09
上傳用戶:tuilp1a
1)兼容FAT16文件系統(tǒng),長文件名,最大路徑長度260個字節(jié),符合Microsoft Longfilename specification。 2)可移植于各種平臺,只需編寫sector驅(qū)動驅(qū)動,共計兩個函數(shù):1)read_flash_sector() 2)write_flash_sector()。 3)文件緩沖功能:1)讀文件時,讀位置在文件緩沖區(qū)內(nèi),則可直接讀文件緩沖區(qū),不需要讀物理磁盤;文件緩沖區(qū)大小可使用編譯宏EnableFileBuf,TotalFileBUFsQTYeachFCB,F(xiàn)ileBUFSize來控制。 4)可同時打開多個文件;最大打開文件數(shù)可使用編譯宏MaximumFCB設(shè)定,MaximumFCB最大值限定為254。 5)文件保護(hù)功能:文件可同時打開多個FCB,而只有其中一個FCB可以得到文件RD/WR權(quán)限。該功能完全由文件系統(tǒng)代碼來完成,上層應(yīng)用無需編寫額外代碼。 6)所有編譯宏存放于文件fat_cfg.h。
標(biāo)簽: FAT 16 兼容 文件系統(tǒng)
上傳時間: 2014-01-17
上傳用戶:541657925
嵌入式FAT16文件系統(tǒng)源碼下載1) 兼容FAT16文件系統(tǒng),長文件名,最大路徑長度260個字節(jié),符合Microsoft Longfilename specification。 2) 可移植于各種平臺,只需編寫sector驅(qū)動驅(qū)動,共計兩個函數(shù):1)read_flash_sector() 2)write_flash_sector()。 3) 文件緩沖功能:1)讀文件時,讀位置在文件緩沖區(qū)內(nèi),則可直接讀文件緩沖區(qū),不需要讀物理磁盤;文件緩沖區(qū)大小可使用編譯宏EnableFileBuf,TotalFileBUFsQTYeachFCB,F(xiàn)ileBUFSize來控制。 4) 可同時打開多個文件;最大打開文件數(shù)可使用編譯宏MaximumFCB設(shè)定,MaximumFCB最大值限定為254。 5) 文件保護(hù)功能:文件可同時打開多個FCB,而只有其中一個FCB可以得到文件RD/WR權(quán)限。該功能完全由文件系統(tǒng)代碼來完成,上層應(yīng)用無需編寫額外代碼。 6) 所有編譯宏存放于文件fat_cfg.h。
標(biāo)簽: FAT 16 文件系統(tǒng) 嵌入式
上傳時間: 2017-02-21
上傳用戶:515414293
/* 線路圖 89C51 T6963C -------- | 8 P1.0-1.7|=========== D0-7 | P3.0|----------- /RD P3.1|----------- /WR P3.2|----------- C/D | -- /CE | | | --- P3.3|----------- /RESET | VCC--- /HALT -------- */
標(biāo)簽: T6963C 89C51 1.0 1.7
上傳時間: 2013-12-20
上傳用戶:集美慧
This is a source of 13.560MHz RFID card reader for TRH031M as ATMEGA8-16AU MPU. The title is 3Alogics TRH031M 13.56MHz RFID Reader V1.0. project : RFID Reader V2.0 Target : MEGA8-16AU Crystal: 16.000 Mhz Input : TRH031M RFID 13.56MHz Output : RS232C 115200,N,8,1 Compiler : ICC-AVR V6.26C // Pin configuration for ATMEGA8-16AU TQFP32 // #30 RXD <--- RXD (SP3232) // #31 TXD ---> TXD (SP3232) // #32 PD2/INT0 <--- INTR (TRH031M) // # 1 PD3/INT1 ---> RST (TRH031M) // # 2 PD4 ---> D4 (TRH031M) // # 9 PD5 ---> D5 (TRH031M) // #10 PD6 ---> D6 (TRH031M) // #11 PD7 ---> D7 (TRH031M) // #12 PB0 ---> D0 (TRH031M) // #13 PB1 ---> D1 (TRH031M) // #14 PB2 ---> D2 (TRH031M) // #15 PB3 ---> D3 (TRH031M) // #16 PB4 ---> CSB (TRH031M) // #17 PB5 ---> LED // #23 PC0 ---> A0 (TRH031M) // #24 PC1 ---> A1 (TRH031M) // #25 PC2 ---> A2 (TRH031M) // #26 PC3 ---> ALE (TRH031M) // #27 PC4 ---> /RD (TRH031M) // #28 PC5 ---> /WR (TRH031M)
標(biāo)簽: 13.560 ATMEGA 3Alogi source
上傳時間: 2017-03-31
上傳用戶:s363994250
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1