Setting break points. The F2 key is used to turn on or t" />
參數(shù)資料
型號(hào): 101-0412
廠商: Rabbit Semiconductor
文件頁(yè)數(shù): 81/90頁(yè)
文件大小: 0K
描述: INTERFACE PROG 12KEY DISP OP6700
標(biāo)準(zhǔn)包裝: 25
系列: SBC
模塊/板類(lèi)型: 單板計(jì)算機(jī)模塊
適用于相關(guān)產(chǎn)品: OP6700
78
Intellicom (OP6600/OP6700)
Setting break points. The F2 key is used to turn on or turn off (toggle) a break point at
the cursor position if the program has already been compiled. You can set a break point
if the program is paused at a break point. You can also set a break point in a program
that is running at full speed. This will cause the program to break if the execution
thread hits your break point.
Watch expressions. A watch expression is a C expression that is evaluated on command
in the watch window. An expression is basically any type of C formula that can include
operators, variables and function calls, but not statements that require multiple lines
such as for or switch. You can have a list of watch expressions in the watch window. If
you are single-stepping, then they are all evaluated on each step. You can also com-
mand the watch expression to be evaluated by using the <ctrl-U> command. When a
watch expression is evaluated at a break point, it is evaluated as if the statement was at
the beginning of the function where you are single-stepping. If your program is running
you can also evaluate watch expressions with a <ctrl-U> if your program has a run-
watch()
command that is frequently executed. In this case, only expressions involv-
ing global variables can be evaluated, and the expression is evaluated as if it were in a
separate function with no local variables.
D.2.2 Cooperative Multitasking
Cooperative multitasking is a convenient way to perform several different tasks at the
same time. An example would be to step a machine through a sequence of steps and at the
same time independently carry on a dialog with the operator via a human interface. Coop-
erative multitasking differs from a different approach called preemptive multitasking.
Dynamic C supports both types of multitasking. In cooperative multitasking each separate
task voluntarily surrenders its compute time when it does not need to perform any more
activity immediately. In preemptive multitasking control is forcibly removed from the task
via an interrupt.
Dynamic C has language extensions to support multitasking. The major C constructs are
called costatements, cofunctions, and slicing. These are described more completely in the
Dynamic C User’s Manual. The example below, sample program DEMOBRD3.C, uses cos-
tatements. A costatement is a way to perform a sequence of operations that involve pauses
or waits for some external event to take place. A complete description of costatements is
in the Dynamic C User’s Manual. The DEMOBRD3.C sample program has two indepen-
dent tasks. The first task flashes LED2 once a second. The second task uses button SW1
on the Demonstration Board to toggle the logical value of a virtual switch, vswitch, and
flash LED1 each time the button is pressed. This task also debounces button SW1.
Note that the Demonstration Board has to be connected to the Intellicom board as
described in Section D.1 to be able to run DEMOBRD3.C.
相關(guān)PDF資料
PDF描述
14FMN-BMT-A-TF CONN FMN HSNG 14POS SNGL NOR SMD
101-0497 MODULAR RABBIT CORE OP6810
18FMN-BMTTN-A-TF CONN FMN HSNG 18POS STAG NOR SMD
101-0599 COMPUTER SNGLBD BL2500 512K FLSH
20-101-0497 MODULE OP6810 W/O ETH/MEM EXPANS
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
101-0413 功能描述:開(kāi)發(fā)軟件 DYNAMIC C SOFTWARE RoHS:否 制造商:Atollic Inc. 產(chǎn)品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
101-0414 功能描述:界面開(kāi)發(fā)工具 OP6700 RoHS:否 制造商:Bourns 產(chǎn)品:Evaluation Boards 類(lèi)型:RS-485 工具用于評(píng)估:ADM3485E 接口類(lèi)型:RS-485 工作電源電壓:3.3 V
101-0415 功能描述:KIT TOOL FOR OP6700 INTL RoHS:否 類(lèi)別:編程器,開(kāi)發(fā)系統(tǒng) >> 評(píng)估演示板和套件 系列:Intellicom 產(chǎn)品培訓(xùn)模塊:Obsolescence Mitigation Program 標(biāo)準(zhǔn)包裝:1 系列:- 主要目的:電源管理,電池充電器 嵌入式:否 已用 IC / 零件:MAX8903A 主要屬性:1 芯鋰離子電池 次要屬性:狀態(tài) LED 已供物品:板
101-0416-000 制造商:ITT Interconnect Solutions 功能描述:INSUL CA-KE18-1P FR / 101-0416-000 / Circular
101-0417 功能描述:開(kāi)發(fā)板和工具包 - 其他處理器 USE 694-101-0580 RoHS:否 制造商:Freescale Semiconductor 產(chǎn)品:Development Systems 工具用于評(píng)估:P3041 核心:e500mc 接口類(lèi)型:I2C, SPI, USB 工作電源電壓: