程序所在目录:ex6_AD 板上引出的两路A/D 转换对应DSP 的A/D 模块分别是通道0 和通道8,输入电压0-5V 。 本开发板使用DA 的输出作为AD 的输入,因此需将5J2 的1-2,3-4 分别用短路子短接。 打开CC2000,进行如下操作: 1.Project->Open ,打开该目录中的工程文件。 2.Project->Rebuild ALL,编译链接 3.File->Load Program 4.光标移到Que()函数的asm(" NOP ")所处的行。 5. Debug->Toggle breakpoint (快捷键F9) 6. Debug->Animate (快捷键F12) 7. View->Watch Window ,在出现的watch 窗体中点右键分别插入变量AD_SIG0,AD_SIG8,则可看到所采到的这两路信号的电压值。 如果结果稍微不精确,请不要在意,这可能是因为没有采用专用基准源,以及信号不稳定的缘故。另外,TMS320LF2407 的内置A/D 的精度并不是很高。在前面两种情况已得到保证的情况下,变化幅度仍较大。( ^_^ 呵呵,外面好一点的一片A/D 芯片就不低于100 块,所以想想能凑合着用也就可以了。)
上传时间: 2013-12-17
上传用户:refent
程序所在目录:ex7_CAN 由于调试CAN总线通讯需要外部的CAN设备。所以在没有外部CAN设备的情况下,本样例程序中采用了CAN的自测试模式通信,即使用CANBOX4发送CANBOX0接收。在定时器中断服务程序中执行发送;中断方式接收CAN信息。 打开CC2000,进行如下操作: 1. Project->Open ,打开该目录中的工程文件。 2. Project->Rebuild ALL,编译链接 3. File->Load Program 4. 光标移到int1中断服务程序CANIFR=0xFFFF所处的行。 5. Debug->Toggle breakpoint (快捷键F9) 6. Debug->Animate (快捷键F12) 偏左上脚GEL Files上点右键,Load GEL,选择LF2407.gel,然后菜单栏Gel->LF2407->CAN regs,即可看到CAN寄存器的变量被显示岛Watch Window中.可以看到CANBOX0里面接收到数据0x2211,0x4433等数据,这些数据是由CANBOX4发送往总线上的. 如果用户和别的CAN设备通信,参照本例程的注释更改相关设置即可。
上传时间: 2014-11-15
上传用户:zhuimenghuadie
Make a Driver is difficult, it need some experients. When you write it, you will be fault to other fault. i think that, this book is good to make driver use WDM(window driver model)
标签: experients difficult you Driver
上传时间: 2013-12-12
上传用户:wxhwjf
uiinspect Inspect an object handle (Java/COM/HG) and display its methods/props/callbacks in a unified window
标签: uiinspect callbacks Inspect display
上传时间: 2017-05-17
上传用户:zuozuo1215
this book mainly includes these contents :linked list, stacks and queuse, recursions, binary tree, multi tree, graphs, sorting, hashing, data compression.
标签: recursions includes contents binary
上传时间: 2017-05-28
上传用户:dengzb84
debian系统下的串口调试器,它是用c++开发,具有window下的串口调试器的所有功能。
上传时间: 2014-08-16
上传用户:上善若水
//初始化 if(initscr() == NULL) { perror("initcurs") exit(EXIT_FAILURE) } //设置模式 cbreak() noecho() keypad(stdscr, TRUE) //建立窗口 win = newwin(h, w, 3, 20) box(win, 0, 0) keypad(win, TRUE) wmove(win, cury, curx) mvaddstr(16, 1, "Press arrow keys to move the cursor within the window.\n") mvaddstr(17, 1, "Press q to quit.\n") refresh() wrefresh(win)
标签: EXIT_FAILURE initcurs initscr perror
上传时间: 2013-12-20
上传用户:FreeSky
//建立窗口 win1 = newwin(15, 50, 1, 1) box(win1, ACS_VLINE, ACS_HLINE) mvwprintw(win1, 2,1, "WINDOW 1") mvwprintw(win1, 4,1, "Press any key switching to window 2") win2 = newwin(15, 40, 4, 20) box(win2, ACS_VLINE, ACS_HLINE) mvwprintw(win2, 2,1, "WINDOW 2") //建立子窗口 subwin = derwin(win2, 5, 25, 4, 5) box(subwin, ACS_VLINE, ACS_HLINE) mvwprintw(subwin, 2,1, "Sub Window of Window2") //刷新屏幕 refresh() wrefresh(win1) wrefresh(win2) touchwin(win1) wrefresh(win1) getch() touchwin(win2) mvwprintw(win2, 12,1, "Press any key to exit...") wrefresh(win2) //等待按键 getch() //结束 delwin(win1) delwin(subwin) delwin(win2) endwin()
标签: ACS_VLINE ACS_HLINE mvwprintw win
上传时间: 2017-06-12
上传用户:plsee
width = gdk_pixbuf_animation_get_width(ani) height = gdk_pixbuf_animation_get_height(ani) current_frame_list = gdk_pixbuf_animation_get_frames(ani) pixmap = gdk_pixmap_new(w->window, width, height, -1) clean_pixmap = gdk_pixmap_new(w->window, width, height, -1) if (w->style->bg_pixmap[GTK_STATE_NORMAL]) { GdkPixmap *bg = w->style->bg_pixmap[GTK_STATE_NORMAL] GdkGC *gc GdkGCValues values values.tile = bg values.fill = GDK_TILED gc = gdk_gc_new_with_values(w->window, &values, GDK_GC_FILL|GDK_GC_TILE) gdk_gc_set_ts_origin(gc, (w->allocation.width - width)/2, (w->allocation.height-height)/2) gdk_draw_rectangle(clean_pixmap,gc, TRUE, 0, 0, width, height) gdk_gc_destroy(gc) } else { gdk_draw_rectangle(clean_pixmap, w->style->bg_gc[GTK_STATE_NORMAL], TRUE, 0, 0, width, height) }
标签: gdk_pixbuf_animation_get_height gdk_pixbuf_animation_get_width ani height
上传时间: 2013-12-26
上传用户:thinode
This manual describes SAMSUNG s S3C2410A 16/32-bit RISC microprocessor. This product is designed to provide hand-held devices and general applications with cost-effective, low-power, and high-performance micro-controller solution in small die size. To reduce total system cost, the S3C2410A includes the following components separate 16KB Instruction and 16KB Data Cache, MMU to handle virtual memory management, LCD Controller (STN & TFT), NAND Flash Boot Loader, System Manager (chip select logic and SDRAM Controller), 3-ch UART, 4-ch DMA, 4-ch Timers with PWM, I/O Ports, RTC, 8-ch 10-bit ADC and Touch Screen Interface, IIC-BUS Interface, IIS-BUS Interface, USB Host, USB Device, SD Host & Multi-Media Card Interface, 2-ch SPI and PLL for clock generation.
标签: This microprocessor describes S3C2410A
上传时间: 2013-11-30
上传用户:GavinNeko