Setting break points. The F2 key is used to turn on or turn off (togg" />
參數(shù)資料
型號(hào): 101-0399
廠商: Rabbit Semiconductor
文件頁數(shù): 11/80頁
文件大小: 0K
描述: KIT DEV RABBIT RCM2000 INT'L
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore 2000
類型: MPU 模塊
適用于相關(guān)產(chǎn)品: RCM2000,RCM2010,RCM2020
所含物品: RabbitCore 模塊、開發(fā)板、交流適配器、纜線和 Dynamic C? 光盤
其它名稱: 101-399
101-399-ND
User’s Manual
15
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
runwatch()
command that is frequently executed. In this case, only expressions
involving global variables can be evaluated, and the expression is evaluated as if it
were in a separate function with no local variables.
3.1.1.7 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 another 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 FLASHLEDS2.C, uses
costatements. 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 costate-
ments is in the Dynamic C User’s Manual. The FLASHLEDS2.C sample program has two
independent tasks. The first task flashes LED DS2 2.5 times a second. The second task
flashes DS3 every 1.5 seconds.
相關(guān)PDF資料
PDF描述
101-0360 KIT DEV RABBIT 2000 INT'L
RCC22DCSH CONN EDGECARD 44POS DIP .100 SLD
EVAL-AD5546SDZ BOARD EVAL FOR AD5546
V48C2E50BL CONVERTER MOD DC/DC 2V 50W
AP2152AFGEG-7 IC PWR SW USB 2CH 0.5A 8-DFN
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
10103-C PLAIN ALUMINUM 功能描述:CHASSIS ALUM UNPAINTED 10"LX10"W 制造商:lmb heeger inc. 系列:- 零件狀態(tài):有效 容器類型:底座 大小/尺寸:10.000" 長 x 10.000" 寬(254.00mm x 254.00mm) 高度:3.000"(76.20mm) 面積(L x W):100"(645cm) 設(shè)計(jì):包含蓋 材料:金屬 - 鋁 顏色:未上色 厚度:- 特性:帽蓋(蓋) 等級(jí):- 材料可燃性等級(jí):- 發(fā)貨信息:從 Digi-Key 運(yùn)送 重量:- 標(biāo)準(zhǔn)包裝:1
10103-P PLAIN ALUMINUM 功能描述:CHASSIS ALUM UNPAINTED 10"LX10"W 制造商:lmb heeger inc. 系列:- 零件狀態(tài):有效 容器類型:底座 大小/尺寸:10.000" 長 x 10.000" 寬(254.00mm x 254.00mm) 高度:3.000"(76.20mm) 面積(L x W):100"(645cm) 設(shè)計(jì):包含蓋 材料:金屬 - 鋁 顏色:未上色 厚度:- 特性:帽蓋(蓋) 等級(jí):- 材料可燃性等級(jí):- 發(fā)貨信息:從 Digi-Key 運(yùn)送 重量:- 標(biāo)準(zhǔn)包裝:1
10103-SS-0440-7 制造商:Amatom Electronic Hardware 功能描述:
10103-TB 制造商:Thomas & Betts 功能描述:Cable Accessories Ground Clamp
10104 制造商:Brady Corporation 功能描述: 制造商:Marinco Electrical Group 功能描述: 制造商:Weidmuller 功能描述: