101-0402 Rabbit Semiconductor, 101-0402 Datasheet - Page 29

no-image

101-0402

Manufacturer Part Number
101-0402
Description
KIT DEV TCP/IP 2000 INTL
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 2000r
Type
MPU Moduler
Datasheet

Specifications of 101-0402

Contents
RabbitCore Module, Dev. Board, Cable and Dynamic C® CD-Rom
For Use With/related Products
RCM2000, RCM2010, RCM2020
Lead Free Status / RoHS Status
Vendor undefined / Vendor undefined
• Watch expressions. A watch expression is a C expression that is evaluated on command
3.7.3 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
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
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,
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 TCP/IP Development Board
as described in Section 3.7.1 to be able to run
Getting Started
that is running at full speed. This will cause the program to break if the execution
thread hits your break point.
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 command
the watch expression to be evaluated by using the
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
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.
DEMOBRD3.C
<Ctrl-U>
DEMOBRD3.C
<Ctrl-U>
sample program has two indepen-
if your program has a
.
command. When a watch
DEMOBRD3.C
vswitch
runwatch()
, uses cos-
, and
25

Related parts for 101-0402