Setting break points. The F2 key is used to turn on or t" />
參數(shù)資料
型號: 101-0411
廠商: Rabbit Semiconductor
文件頁數(shù): 81/90頁
文件大?。?/td> 0K
描述: INTERFACE 12KEYDISP ETHNT OP6700
標(biāo)準(zhǔn)包裝: 25
系列: SBC
模塊/板類型: 單板計算機模塊
適用于相關(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描述
AT24C02A-10PI-2.7 IC EEPROM 2KBIT 400KHZ 8DIP
AT24C02A-10PI-1.8 IC EEPROM 2KBIT 400KHZ 8DIP
25FMN-BMT-A-TF CONN FMN HSNG 25POS SNGL NOR SMD
046239012001800+ CONN FPC ONE-TOUCH LCK .5MM 12
AT24C01-10PI-1.8 IC EEPROM 1KBIT 400KHZ 8DIP
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
10104110 制造商:FCI-CONNECTOR 制造商全稱:FCI connector 功能描述:MICRO USB B TYPE RECEPTACLE
10104110-0001LF 功能描述:USB接頭 5P Quick Connect Micro USB TypeB Rcpt RoHS:否 制造商:FCI 產(chǎn)品:USB Type A Connectors 標(biāo)準(zhǔn):USB 3.0 端口數(shù)量: 位置/觸點數(shù)量:9 型式:Female 電流額定值:1.8 A 安裝風(fēng)格:Through Hole 端接類型:Solder Pin 連接器類型:USB 3.0 Receptacle
10104110-0001LF 制造商:FCI 功能描述:MICRO USB B, RECEPTACLE, 5POS, SMT RT AN
10-104-11-01 制造商:Concord Electronics Inc 功能描述:Contact Solder ST Thru-Hole
10-104-11-03 制造商:Concord Electronics Inc 功能描述: