freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

dsp實(shí)驗(yàn)報(bào)告心得體會(huì)(編輯修改稿)

2024-10-13 15:47 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 IE vector table: // Disable CPU interruptsDINT。// Initialize the PIE control registers to their default state.// The default state is all PIE interrupts disabled and flags // are cleared.// This function is found in the ()。// Disable CPU interrupts and clear all CPU interrupt flags:IER = 0x0000。IFR = 0x0000。// Initialize the PIE vector table with pointers to the shell Interrupt // Service Routines(ISR).// This will populate the entire table, even if the interrupt // is not used in this is useful for debug purposes.// The shell ISR routines are found in .// This function is found in ()。// Step all the Device Peripherals: // This function is found in // InitPeripherals()。// Not required for this exampleInitXintf()。// For this example, init the Xintf // Step specific code, enable interrupts:init_eva()。//init_evb()。while(1){for(i=0。i{Reg06=0。 = i。delay_loop()。}} } void delay_loop(){shorti,j。for(i = 0。i 1000。i++){for(j = 0。j 10。j++)。} } void init_eva(){ // EVA Configure T1PWM, T2PWM, PWM1PWM6 // Initalize the timers// Initalize EVA Timer1 = 0xFFFF。// Timer1 period = 0x3C00。// Timer1 pare = 0x0000。// Timer1 counter// TMODE = continuous up/down// Timer enable// Timer pare enable = 0x1042。// Initalize EVA Timer2 = 0x0FFF。// Timer2 period = 0x03C0。// Timer2 pare = 0x0000。// Timer2 counter// TMODE = continuous up/down// Timer enable// Timer pare enable = 0x1042。// Setup T1PWM and T2PWM// Drive T1/T2 PWM by pare logic = 1。// Polarity of GP Timer 1 Compare = Active low = 1。// Polarity of GP Timer 2 Compare = Active high = 2。// Enable pare for PWM1PWM6// = 0x0C00。// = 0x3C00。 = 0xFC00。// Compare action that takes place// on a cmpare event// output pin 1 CMPR1active low// output pin 3 CMPR2active low// output pin 5 CMPR3active low = 0x0666。 = 0x0000。// Disable deadband = 0xA600。}void init_evb(){ // EVB Configure T3PWM, T4PWM and PWM7PWM12 // Step 1active high// output pin 2 CMPR4active high// output pin 4 CMPR5active high// output pin 6 CMPR6x000 0000 0011 0000EDIS。// Step PIE vector table:// The PIE vector table is initialized with pointers to shell Interrupt// Service Routines(ISR).The shell routines are found in .// Insert user specific ISR code in the appropriate shell ISR routine in// the file.// Disable and clear all CPU interrupts:DINT。IER = 0x0000。IFR = 0x0000。// Initialize Pie Control Registers To Default State:// This function is found in the file.// InitPieCtrl()。PIE is not used for this example// Initialize the PIE Vector Table To a Known State:// This function is found in .// This function populates the PIE vector table with pointers// to the shell ISR functions found in ()。// Enable CPU and PIE interrupts// This example function is found in the ()。// Step all the Device Peripherals to a known state:// This function is found in // InitPeripherals()。skip this for SCI tests// Step specific functions, Reassign vectors(optional), Enable Interrupts:LoopCount = 0。ErrorCount = 0。scia_fifo_init()。// Initialize the SCI FIFOscia_loopback_init()。// Initalize SCI for digital loop back// Note: Autobaud lock is not required for this example// Send a character starting with 0SendChar = 0。// Step Characters forever starting with 0x00 and going through // sending each, check the recieve buffer for the correct value for(。){ scia_xmit(SendChar)。while(!=1){ } // wait for XRDY =1 for empty state// Check received characterReceivedChar = 。if(ReceivedChar!= SendChar)error(1)。// Move to the next character and repeat the testSendChar++。// Limit the character to 8bitsSendChar amp。= 0x00FF。LoopCount++。if(LoopCount==256){LoopCount=0。 =0。// Disable loop back =0x0023。// Relinquish SCI from Reset while((ReceivedChar = )!=0x0d)。scia_loopback_init()。// Initalize SCI for digital loop back}} }// Step all local Interrupt Service Routines(ISRs)and functions here: void error(int ErrorFlag){ErrorCount++。//asm(“ESTOP0”)。// Unment to stop the test here //for(。)。} // Test 1,SCIA DLB, 8bit word, baud rate 0x000F, default, 1 STOP bit, no parity void scia_loopback_init(){// Note: Clocks were turned on to the SCIA peripheral// in the InitSysCtrl()function =0x0007。// 1 stop bit, No loopback// No parity,8 char bits,// async mode, idleline protocol =0x0003。// enable TX, RX, internal SCICLK,// Disable RX ERR, SLEEP, TXWAKE =0x0003。 =1。 =1。=0x0001。=0x00e7。} // Transmit a character from the SCI39。 void scia_xmit(int a){=a。}// Initalize the SCI FIFO void scia_fifo_init() =1。// Enable loop back =0x0023。// Relinquish SCI from Reset{=0xE040。=0x204f。=0x0。}//============================= // No more.//=============================第三篇:DSP實(shí)驗(yàn)報(bào)告實(shí)驗(yàn)0 實(shí)驗(yàn)設(shè)備安裝才CCS調(diào)試環(huán)境 實(shí)驗(yàn)?zāi)康模喊凑諏?shí)驗(yàn)講義操作步驟,打開(kāi)CCS軟件,熟悉軟件工作環(huán)境,了解整個(gè)工作環(huán)境內(nèi)容,有助于提高以后實(shí)驗(yàn)的操作性和正確性。實(shí)驗(yàn)步驟:以演示實(shí)驗(yàn)一為例:1. 使用配送的并口電纜線連接好計(jì)算機(jī)并口與實(shí)驗(yàn)箱并口,打開(kāi)實(shí)驗(yàn)箱電源;2.啟動(dòng)CCS,點(diǎn)擊主菜單“ProjectOpen”在目錄“C5000QuickStartsinewave”,然后點(diǎn)擊主菜單“ProjectBuild”編譯,然后點(diǎn)擊主菜單“FileLoad Program”;3. ,在注釋行“set breakpoint in CCS!!”語(yǔ)句的NOP處單擊右鍵彈出菜單,選擇“Toggle breakpoint”加入紅色的斷點(diǎn),如下圖所示;4. 點(diǎn)擊主菜單“ViewGraphTime/Frequency…”,屏幕會(huì)出現(xiàn)圖形窗口設(shè)置對(duì)話框5. 雙擊Start Address,將其改為y0;雙擊Acquisition Buffer Size,將其改為1;DSP Data Type設(shè)置成16bit signed integer,如下圖所示;6. 點(diǎn)擊主菜單“WindowsTile Horizontally”,排列好窗口,便于觀察7. 點(diǎn)擊主菜單“DebugAnimate”或按F12鍵動(dòng)畫(huà)運(yùn)行程序,即可觀察到實(shí)驗(yàn)結(jié)果:心得體會(huì):通過(guò)對(duì)演示實(shí)驗(yàn)的練習(xí),讓自己更進(jìn)一步對(duì)CCS軟件的運(yùn)行環(huán)境、編譯過(guò)程、裝載過(guò)程、屬性設(shè)置、動(dòng)畫(huà)演示、實(shí)驗(yàn)結(jié)果的觀察有一個(gè)醒目的了解和熟悉的操作方法。熟悉了DSP實(shí)驗(yàn)箱基本模塊。讓我對(duì)DSP課程產(chǎn)生了濃厚的學(xué)習(xí)興趣,課程學(xué)習(xí)和實(shí)驗(yàn)操作結(jié)合為一體的學(xué)習(xí)體系,使我更好的領(lǐng)悟到DSP課程的實(shí)用性和趣味性。實(shí)驗(yàn)二 基本算數(shù)運(yùn)算 實(shí)驗(yàn)?zāi)康暮鸵蠹?、減、乘、除是數(shù)字信號(hào)處理中最基本的算術(shù)運(yùn)算。DSP 中提供了大量的指令來(lái)實(shí)現(xiàn)這些功能。本實(shí)驗(yàn)學(xué)習(xí)使用定點(diǎn)DSP 實(shí)現(xiàn)16 位定點(diǎn)加、減、乘、除運(yùn)算的基本方法和編程技巧。 實(shí)驗(yàn)原理 定點(diǎn) DSP 中的數(shù)據(jù)表示方法C54X 是16 位的定點(diǎn)DSP。一個(gè)16 位的二進(jìn)制數(shù)既可以表示一個(gè)整數(shù),也可以表示一個(gè)小數(shù)。當(dāng)它表示一個(gè)整數(shù)時(shí),其最低位(D0)表示20,D1 位表示21,次高位(D14)表示214。實(shí)現(xiàn) 16 位定點(diǎn)加法C54X 中提供了多條用于加法的指令,如ADD,ADDC,ADDM 和ADDS。其中ADDS 用于無(wú)符號(hào)數(shù)的加法運(yùn)算,ADDC 用于帶進(jìn)位的加法運(yùn)算(如32 位擴(kuò)展精度加法),而ADDM 專用于立即數(shù)的加法。實(shí)現(xiàn) 16 位定點(diǎn)減法C54X 中提供了多條用于減法的指令
點(diǎn)擊復(fù)制文檔內(nèi)容
合同協(xié)議相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1