Task definition ) – Renesas 70 User Manual
Page 114

Chapter 6 Using Configurator
- 104 -
[( Task definition )]
<< Format >>
// Tasks Definition
task[
ID No.
]{
name
=
ID name
;
entry_address
=
Start task of address
;
stack_size
=
User stack size of task
;
priority
=
Initial priority of task
;
context
=
Registers used
;
stack_section
=
Section name in which the stack is located
;
initial_start
=
TA_ACT attribute (initial startup state)
;
exinf
=
Extended information
;
};
:
:
The ID number must be in the range of 1 to 255. The ID number can be omitted.
If omitted, numbers are automatically assigned sequentially beginning with the smallest.
<< Content >>
Define the following for each task ID number.
1. Task ID name
[( Definition format )] Symbol
[( Definition range )] None
[( Default value )] None
Define the ID name of a task. Note that the function name defined here is output to the kernel_id.h file,
as shown below.
#define Task ID Name task ID
2. Start address of task
[( Definition format )]
Symbol or function name
[( Definition range )] None
[( Default value )] None
Define the entry address of a task. When written in the C language, add () at the end or _at the begin-
ning of the function name you have defined.
The function name defined here causes the following declaration statement to be output in the ker-
nel_id.h file:
#pragma TASK Function Name