Setting break points. The F2 key is used to turn on or turn off (togg" />
參數(shù)資料
型號(hào): 20-101-0404
廠商: Rabbit Semiconductor
文件頁(yè)數(shù): 11/80頁(yè)
文件大?。?/td> 0K
描述: MODULE RABBITCORE RCM2000
標(biāo)準(zhǔn)包裝: 1
系列: RabbitCore®
模塊/板類(lèi)型: MPU 核心模塊
適用于相關(guān)產(chǎn)品: RCM2000
產(chǎn)品目錄頁(yè)面: 620 (CN2011-ZH PDF)
其它名稱(chēng): 316-1083
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描述
345-030-540-204 CARDEDGE 30POS DUAL .100 GREEN
345-030-540-202 CARDEDGE 30POS DUAL .100 GREEN
345-030-540-201 CARDEDGE 30POS DUAL .100 GREEN
046232412008800+ CONN FPC R ANGLE 1.0 MM 12 POS
20-101-0357 COMPUTER SINGLE-BOARD BL1810
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
20-101-0405 功能描述:模塊化系統(tǒng) - SOM RCM2010 RABBITCORE RoHS:否 制造商:Digi International 外觀尺寸:ConnectCore 9P 處理器類(lèi)型:ARM926EJ-S 頻率:150 MHz 存儲(chǔ)容量:8 MB, 16 MB 存儲(chǔ)類(lèi)型:NOR Flash, SDRAM 接口類(lèi)型:I2C, SPI, UART 工作電源電壓:3.3 V 最大工作溫度:+ 85 C 尺寸:1.97 in x 1.97 in x 6.1 in
20-101-0410 功能描述:單板計(jì)算機(jī) OP6700/6600 battery RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類(lèi)型:Intel Atom D510 頻率:1.66 GHz 存儲(chǔ)容量:2 GB (max) 存儲(chǔ)類(lèi)型:DDR2, L2 Cache 接口類(lèi)型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm
20-101-0411 功能描述:單板計(jì)算機(jī) OP6700 RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類(lèi)型:Intel Atom D510 頻率:1.66 GHz 存儲(chǔ)容量:2 GB (max) 存儲(chǔ)類(lèi)型:DDR2, L2 Cache 接口類(lèi)型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm
20-101-0412 功能描述:單板計(jì)算機(jī) OP6600 RoHS:否 制造商:Ampro By ADLINK 外觀尺寸:EPIC 處理器類(lèi)型:Intel Atom D510 頻率:1.66 GHz 存儲(chǔ)容量:2 GB (max) 存儲(chǔ)類(lèi)型:DDR2, L2 Cache 接口類(lèi)型:Ethernet, PS/2, SATA, Serial, USB 工作電源電壓:5 V, 12 V 功耗:13 W 最大工作溫度:+ 70 C 尺寸:165.1 mm x 114.3 mm
20-101-0420 功能描述:模塊配件 FWT27/Pluggable RoHS:否 制造商:Lantronix 產(chǎn)品: 用于: