亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

Bit-Plane-Decomposition

  • keil使用筆記

    keil 使用筆記:在Memory窗口上輸入address_type:address才能看到正確地址的變量debug~perfermance analyzer加入要察看的模塊名稱,然后view~perfermance analyzer window 可以察看各個模塊運(yùn)行時間①Display address_type:address B:Bit address C:Code Memory Bx:Code Bank D D:80H 命令可以查看特殊寄存器 data D I:0 命令可以查看內(nèi)部RAM數(shù)據(jù)iData; D X:0 命令可以查看外部RAM數(shù)據(jù)xData; ②R1 //顯示R1 register ~R1 //顯示變量R1 R1 = R7 //對寄存器Rx操作R1 = --R7 R1 = 0x20 ③main //顯示main()的開始地址d main //顯示main()的代碼④向RAM.ROM中寫數(shù)據(jù)Enter data_type address_type:address expr,expr.... data_type:int char double float long E char data:0x20 1,2,3,4 //向data區(qū)0x20開始的地址寫1,2,3,4 變量放在RAM的30H,要把定義放在main前面!另外特別注意,內(nèi)部RAM通常供C程序存放中間變量等,所以一定要看看編譯后的程序中是否存在存儲單元沖突的情況,比如如果程序中 使用了別的寄存器組的話,08-1FH單元就不能用了unsigned long data i _at_ 0x30

    標(biāo)簽: keil 使用筆記

    上傳時間: 2013-11-05

    上傳用戶:dongqiangqiang

  • 可編程自動控制控制跑馬燈

    這一顆,我們學(xué)習(xí)如何讓跑馬燈自動按照我們預(yù)定的順序進(jìn)行。這種控制在工控場合經(jīng)常用到。這個程序里,我們預(yù)先定義了一個變化的順序speedcode,每跑一圈燈就根據(jù)預(yù)定設(shè)置的表格數(shù)據(jù)來決定下一圈的跑馬速度。這樣我們就實現(xiàn)了按照預(yù)定的順序自動變化運(yùn)行。請看代碼:-----------------------------------#define uchar unsigned char //定義一下方便使用#define uint unsigned int#define ulong unsigned long#include <reg52.h> //包括一個52 標(biāo)準(zhǔn)內(nèi)核的頭文件sbit P10 = P1^0; //頭文件中沒有定義的IO 就要自己來定義了sbit P11 = P1^1;sbit P12 = P1^2;sbit P13 = P1^3;bit ldelay=0; //長定時溢出標(biāo)記,預(yù)置是0uchar speed=10; //設(shè)置一個變量保存跑馬燈的移動速度uchar code speedcode[10]={3,1,5,12,3,20,2,10,1,4}; //10 個預(yù)定義的速度char code dx516[3] _at_ 0x003b;//這是為了仿真設(shè)置的//可編程自動控制跑馬燈void main(void) // 主程序{uchar code ledp[4]={0xfe,0xfd,0xfb,0xf7};//預(yù)定的寫入P1 的值uchar ledi; //用來指示顯示順序uchar i;RCAP2H =0x10; //賦T2 的預(yù)置值0x1000,溢出30 次就是1 秒鐘RCAP2L =0x00;TR2=1; //啟動定時器ET2=1; //打開定時器2 中斷EA=1; //打開總中斷

    標(biāo)簽: 可編程 自動控制 控制 跑馬燈

    上傳時間: 2013-11-20

    上傳用戶:ming529

  • 單片機(jī)指令系統(tǒng)

    單片機(jī)指令系統(tǒng) 3.1 MCS-51指令簡介 3.2 指令系統(tǒng) 3.1  MCS-51指令簡介 二、MCS-51系列單片機(jī)指令系統(tǒng)分類 按尋址方式分為以下七種:按功能分為以下四種: 1、立即立即尋址         1、數(shù)據(jù)傳送指令位操 2、直接尋址             2、算術(shù)運(yùn)算指令 3、寄存器尋址           3、邏輯運(yùn)算指令 4、寄存器間接尋址指令   4、控制轉(zhuǎn)移類指令 5、相對尋址             5、位操作指令 6、變址尋址 7、位尋址 三、尋址方式 3、寄存器間接尋址    MOV A, @R1        操作數(shù)是通過寄存器間接得到的。 4、立即尋址               MOV  A, #40H        操作數(shù)在指令中直接給出。 5、基址寄存器加變址寄存器尋址        以DPTR或PC為基址寄存器,以A為變址寄存器,        以兩者相加形成的16位地址為操作數(shù)的地址。                   MOVC A, @A+DPTR                   MOVC A, @A+PC 四、指令中常用符號說明 Rn——當(dāng)前寄存器區(qū)的8個工作寄存器R0~R7(n=0~7); Ri——當(dāng)前寄存器區(qū)可作地址寄存器的2個工作寄存器R0和R1(i=0,1); direct——8位內(nèi)部數(shù)據(jù)存儲器單元的地址及特殊功能寄存器的地址; #data——表示8位常數(shù)(立即數(shù)); #datal6——表示16位常數(shù); add 16——表示16位地址; addrll——表示11位地址; rel——8位帶符號的地址偏移量; bit——表示位地址; @——間接尋址寄存器或基址寄存器的前綴; ( )——表示括號中單元的內(nèi)容 (( ))——表示間接尋址的內(nèi)容; 五、MCS-51指令簡介 1. 以累加器A為目的操作數(shù)的指令 2.  以Rn為目的操作數(shù)的指令 3.  以直接地址為目的操作數(shù)的指令 4.  以寄存器間接地址為目的操作數(shù)指令 應(yīng)用舉例1 8段數(shù)碼管顯示 應(yīng)用舉例2 3.2  指令系統(tǒng) 2、堆棧操作指令  3.  累加器A與外部數(shù)據(jù)傳輸指令 4.  查表指令    MOVC  A,   @A+PC  例子: 5.  字節(jié)交換指令 6.  半字節(jié)交換指令 二、算術(shù)操作類指令 PSW寄存器 2.  帶進(jìn)位加法指令 3.  加1指令 4.  十進(jìn)制調(diào)整指令 5.  帶借位減法指令(Subtraction) 6.  減1指令(Decrease) 7.   乘法指令(Multiplication) 8.  除法指令(Division)        三、邏輯運(yùn)算指令 1.  簡單邏輯操作指令 2.  循環(huán)指令 帶進(jìn)位左循環(huán)指令(Rotate  Accumulator Left   through  Carry  flag)      右循環(huán)指令(Rotate  Accumulator  Right) 帶進(jìn)位右循環(huán)指令(Rotate  A  Right  with  C) 3.   邏輯與指令 4.  邏輯或指令 5.  邏輯異或指令 四、控制轉(zhuǎn)移類指令 1.  跳轉(zhuǎn)指令 相對轉(zhuǎn)移指令   SJMP   rel           PC←(PC)+2                                                                                                                            PC←(PC)+rel 程序中標(biāo)號與地址之間的關(guān)系 2.  條件轉(zhuǎn)移指令 3.  比較不相等轉(zhuǎn)移指令 4.  減 1 不為 0 轉(zhuǎn)移指令 5.  調(diào)用子程序指令 7.  中斷返回指令 五、位操作指令 1.  數(shù)據(jù)位傳送指令 2.  位變量邏輯指令 3.  條件轉(zhuǎn)移類指令

    標(biāo)簽: 單片機(jī) 指令系統(tǒng)

    上傳時間: 2013-10-27

    上傳用戶:xuanjie

  • Emulating a synchronous serial

    The C500 microcontroller family usually provides only one on-chip synchronous serialchannel (SSC). If a second SSC is required, an emulation of the missing interface mayhelp to avoid an external hardware solution with additional electronic components.The solution presented in this paper and in the attached source files emulates the mostimportant SSC functions by using optimized SW routines with a performance up to 25KBaud in Slave Mode with half duplex transmission and an overhead less than 60% atSAB C513 with 12 MHz. Due to the implementation in C this performance is not the limitof the chip. A pure implementation in assembler will result in a strong reduction of theCPU load and therefore increase the maximum speed of the interface. In addition,microcontrollers like the SAB C505 will speed up the interface by a factor of two becauseof an optimized architecture compared with the SAB C513.Moreover, this solution lays stress on using as few on-chip hardware resources aspossible. A more excessive consumption of those resources will result in a highermaximum speed of the emulated interface.Due to the restricted performance of an 8 bit microcontroller a pin compatible solution isprovided only; the internal register based programming interface is replaced by a set ofsubroutine calls.The attached source files also contain a test shell, which demonstrates how to exchangeinformation between an on-chip HW-SSC and the emulated SW-SSC via 5 external wiresin different operation modes. It is based on the SAB C513 (Siemens 8 bit microcontroller).A table with load measurements is presented to give an indication for the fraction of CPUperformance required by software for emulating the SSC.

    標(biāo)簽: synchronous Emulating serial

    上傳時間: 2014-01-31

    上傳用戶:z1191176801

  • MPC106 PCI Bridge/Memory Contr

    In this document, the term Ô60xÕ is used to denote a 32-bit microprocessor from the PowerPC architecture family that conforms to the bus interface of the PowerPC 601ª, PowerPC 603ª, or PowerPC 604 microprocessors. Note that this does not include the PowerPC 602ª microprocessor which has a multiplexed address/data bus. 60x processors implement the PowerPC architecture as it is speciÞed for 32-bit addressing, which provides 32-bit effective (logical) addresses, integer data types of 8, 16, and 32 bits,and ßoating-point data types of 32 and 64 bits (single-precision and double-precision).1.1 Overview The MPC106 provides an integrated high-bandwidth, high-performance, TTL-compatible interface between a 60x processor, a secondary (L2) cache or additional (up to four total) 60x processors, the PCI bus,and main memory. This section provides a block diagram showing the major functional units of the 106 and describes brießy how those units interact.Figure 1 shows the major functional units within the 106. Note that this is a conceptual block diagram intended to show the basic features rather than an attempt to show how these features are physically implemented on the device.

    標(biāo)簽: Bridge Memory Contr MPC

    上傳時間: 2013-10-08

    上傳用戶:18711024007

  • P90CL301 IIC驅(qū)動電路的例行測試及其程序

    The P90CL301 is a highly integrated 16/32 bit micro-controller especially suitable for applications requiring lowvoltage and low power consumption. It is fully software compatible with the 68000. Furthermore, it provides bothstandard as well as advanced peripheral functions on-chip.One of these peripheral functions is the I2C bus. This report describes worked-out driver software (written in C) toprogram the P90CL301 I2C interface. It also contains interface software routines offering the user a quick start inwriting a complete I2C system application.

    標(biāo)簽: P90 301 IIC 90

    上傳時間: 2014-01-06

    上傳用戶:氣溫達(dá)上千萬的

  • XA-S3 I2C driver software

    This application note demonstrates how to write an Inter Integrated Circuit bus driver (I2C) for the XA-S3 16-bitMicrocontroller from Philips Semiconductors.Not only the driver software is given. This note also contains a set of (example) interface routines and a smalldemo application program. All together it offers the user a quick start in writing a complete I2C system applicationwith the PXAS3x.The driver routines support interrupt driven single master transfers. Furthermore, the routines are suitable foruse in conjunction with real time operating systems.

    標(biāo)簽: software driver XA-S I2C

    上傳時間: 2013-11-02

    上傳用戶:zw380105939

  • XA-S3的IIC接口的驅(qū)動器軟件程序(C語言)

    The XA-S3 is a member of Philips Semiconductors’ XA (eXtended Architecture) family of high performance 16-bit single-chip Microcontrollers. The XA-S3 combines many powerful peripherals on one chip. Therefore, it is suited for general multipurpose high performance embedded control functions.One of the on-chip peripherals is the I2C bus interface. This report describes worked-out driver software (written in C) to program / use the I2C interface of the XA-S3. The driver software, together with a demo program and interface software routines offer the user a quick start in writing a complete I2C - XAS3 system application.

    標(biāo)簽: XA-S IIC C語言 接口

    上傳時間: 2013-11-10

    上傳用戶:liaofamous

  • 單片機(jī)外圍線路設(shè)計

    當(dāng)拿到一張CASE單時,首先得確定的是能用什么母體才能實現(xiàn)此功能,然后才能展開對外圍硬件電路的設(shè)計,因此首先得了解每個母體的基本功能及特點,下面大至的介紹一下本公司常用的IC:單芯片解決方案• SN8P1900 系列–  高精度 16-Bit  模數(shù)轉(zhuǎn)換器–  可編程運(yùn)算放大器 (PGIA)•  信號放大低漂移: 2V•  放大倍數(shù)可編程: 1/16/64/128  倍–  升壓- 穩(wěn)壓調(diào)節(jié)器 (Charge-Pump Regulator)•  電源輸入: 2.4V ~ 5V•  穩(wěn)壓輸出: e.g. 3.8V at SN8P1909–  內(nèi)置液晶驅(qū)動電路 (LCD Driver)–  單芯片解決方案 •  耳溫槍  SN8P1909 LQFP 80 Pins• 5000 解析度量測器 SN8P1908 LQFP 64 Pins•  體重計  SN8P1907 SSOP 48 Pins單芯片解決方案• SN8P1820 系列–  精確的12-Bit  模數(shù)轉(zhuǎn)換器–  可編程運(yùn)算放大器 (PGIA)• Gain Stage One: Low Offset 5V, Gain: 16/32/64/128• Gain Stage One: Low Offset 2mV, Gain: 1.3 ~ 2.5–  升壓- 穩(wěn)壓調(diào)節(jié)器•  電源輸入: 2.4V ~ 5V•  穩(wěn)壓輸出: e.g. 3.8V at SN8P1829–  內(nèi)置可編程運(yùn)算放大電路–  內(nèi)置液晶驅(qū)動電路 –  單芯片解決方案 •  電子醫(yī)療器 SN8P1829 LQFP 80 Pins 高速/低功耗/高可靠性微控制器• 最新SN8P2000 系列– SN8P2500/2600/2700 系列– 高度抗交流雜訊能力• 標(biāo)準(zhǔn)瞬間電壓脈沖群測試 (EFT): IEC 1000-4-4• 雜訊直接灌入芯片電源輸入端• 只需添加1顆 2.2F/50V 旁路電容• 測試指標(biāo)穩(wěn)超 4000V (歐規(guī))– 高可靠性復(fù)位電路保證系統(tǒng)正常運(yùn)行• 支持外部復(fù)位和內(nèi)部上電復(fù)位• 內(nèi)置1.8V 低電壓偵測可靠復(fù)位電路• 內(nèi)置看門狗計時器保證程序跳飛可靠復(fù)位– 高抗靜電/栓鎖效應(yīng)能力– 芯片工作溫度有所提高: -200C ~ 700C     工規(guī)芯片溫度: -400C ~ 850C 高速/低功耗/高可靠性微控制器• 最新 SN8P2000 系列– SN8P2500/2600/2700 系列– 1T  精簡指令級結(jié)構(gòu)• 1T:  一個外部振蕩周期執(zhí)行一條指令•  工作速度可達(dá)16 MIPS / 16 MHz Crystal–  工作消耗電流 < 2mA at 1-MIPS/5V–  睡眠模式下消耗電流 < 1A / 5V額外功能• 高速脈寬調(diào)制輸出 (PWM)– 8-Bit PWM up to 23 KHz at 12 MHz System Clock– 6-Bit PWM up to 93 KHz  at 12 MHz System Clock– 4-Bit PWM up to 375 KHz  at 12 MHz System Clock• 內(nèi)置高速16 MHz RC振蕩器 (SN8P2501A)• 電壓變化喚醒功能• 可編程控制沿觸發(fā)/中斷功能– 上升沿 / 下降沿 / 雙沿觸發(fā)• 串行編程接口

    標(biāo)簽: 單片機(jī) 線路設(shè)計

    上傳時間: 2013-10-21

    上傳用戶:jiahao131

  • 全遙控6聲道AV機(jī)的匯編程序

    全遙控6聲道AV機(jī)的匯編程序:;;;;;;;;;;;;;;;;;;;6CH AMPLIFIER;;;;;;;;;;;;;;;;;----腳位定義-----;;;;;;;;;;;;;;;;;;;6CH AMPLIFIER;;;;;;;;;;;;;;;;;----腳位定義----- PT6311_CLK      EQU   P3.4PT6311_STB      EQU   P3.5PT6311_DATA     EQU   P3.3 UP              EQU   P3.1DOEN            EQU   P3.0 PT2313_DATA     EQU   P0.7PT2313_CLK      EQU   P2.7 AC3             EQU   P2.6        ;(控制4053的信號) M62429_DA       EQU   P2.3        ;(SURL/R)M62429_CK       EQU   P2.4 M62429_CK1      EQU   P2.5        ;(C/BW) M62429_CK3      EQU   P0.0        ;(ECHO,MVOL)M62429_DA3      EQU   P1.7M_DELAY1        EQU   P0.1M_DELAY2        EQU   P0.2 AD_OUT          BIT   P0.5AD_IN           BIT   P0.6 ;----片內(nèi)RAM定義--------GIF_SIGN        EQU   40H         ; 動畫進(jìn)程標(biāo)記(=1,走過場字幕  )GIF_TIME1       EQU   41H         ; 動畫跑字的時間間隔速度GIF_LONG        EQU   42H         ; 動畫字幕的長度 DISP_BUFFER     EQU   43H         ; 顯示緩沖區(qū)地址指針DISP_INDEX      EQU   44H         ; PT6311片內(nèi)地址指針

    標(biāo)簽: 遙控 聲道 匯編程序

    上傳時間: 2013-10-19

    上傳用戶:fac1003

主站蜘蛛池模板: 象山县| 仁布县| 霸州市| 高碑店市| 西畴县| 永寿县| 桦川县| 高淳县| 渑池县| 广元市| 西乌| 阜新市| 泰兴市| 贡觉县| 米林县| 收藏| 河源市| 东阳市| 建水县| 英山县| 西乌| 呈贡县| 澎湖县| 静海县| 武安市| 永济市| 厦门市| 同江市| 安图县| 台前县| 普宁市| 磐石市| 平定县| 梅州市| 博白县| 长武县| 松原市| 玉环县| 五家渠市| 莱芜市| 资源县|