beautypg.com

Short data queue definition ) – Renesas Emulator System M3T-MR100 User Manual

Page 255

background image

239

2. Number of data

[( Definition format )]

Numeric

Value

[( Definition range )]

0 to 0x1FFF

[( Default value )]

0

Specify the number of data that can be transmitted. What should be specified here is the number of data, and not
a data size.

3. Selecting a data queue waiting queue

[( Definition format )]

Symbol

[( Definition range )]

TA_TFIFO

or

TA_TRPI

[( Default value )]

TA_TFIFO

Select a method in which tasks wait for data queue transmission. If TA_TFIFO is selected, tasks are enqueued in
order of FIFO. If TA_TPRI is selected, tasks are enqueued in order of priority beginning with the one that has the
highest priority.

[( Short data queue definition )]
This definition must always be set when the short data queue function is to be used.

<< Format >>


// Vdataqueue Definition
vdataqueue [

ID No.

]{

name

=

ID name

;

buffer_size

=

Number of data queues

;

wait_queue

=

Select data queue waiting queue

;

};

:

:

The ID number must be in the range 1 to 255. The ID number can be omitted. If omitted, ID numbers are automatically
assigned in order of numbers beginning with the smallest.

<< Content >>

For each short data queue ID number, define the items described below.

1. ID

name

[( Definition format )]

Symbol

[( Definition range )]

None

[( Default value )]

None

Define the name by which the short data queue is specified in a program.

2. Number of data

[( Definition format )]

Numeric

Value

[( Definition range )]

0 to 0x3FFF

[( Default value )]

0

Specify the number of data that can be transmitted. What should be specified here is the number of data, and not
a data size.