Fujitsu FR60 Hardware Manual page 539

32-bit microcontroller mb91301 series
Hide thumbs Also See for FR60:
Table of Contents

Advertisement

■ Objects
The MB91302A-010's internal ROM contains the following objects.
The MB91302A-010 supports event flags, semaphores, and mailboxes.
Table 20.3-3 Objects
❍ Event flag
The MB91302A-010 supports up to 32 event flags.
The event flag definition of SOFTUNE REALOS/FR's Configurator is used to define event flags
during program development. Even though the number of event flags to be actually used is less
than 32, be sure to define 32 event flags including vacant definitions.
❍ Semaphore
The MB91302A-010 supports up to 32 semaphores.
The semaphore definition of SOFTUNE REALOS/FR's Configurator is used to define
semaphores during program development. Even though the number of semaphores to be
actually used is less than 32, be sure to define 32 semaphores including vacant definitions.
❍ Mailbox
The MB91302A-010 supports up to 32 mailboxes.
The mailbox definition of SOFTUNE REALOS/FR's Configurator is used to define semaphores
during program development. Even though the number of mailboxes to be actually used is less
than 32, be sure to define 32 semaphores including vacant definitions.
■ User Tasks
The MB91302A-010 supports up to 64 user tasks.
The task definition of SOFTUNE REALOS/FR's Configurator is used to define user tasks during
program development.
Table 20.3-4 User Tasks
Even though the number of user tasks to be actually used is less than 64, be sure to use the
task definition of SOFTUNE REALOS/FR's Configurator to define 64 tasks including empty
tasks. The initial state of empty user tasks which are not actually used must be DORMANT.
Even for an empty user task not to be used, write a vacant source code and compile it along
with the other tasks.
In actual programs, be careful not to issue a system call to these unused tasks.
The following is an example of empty source code concerning unused task.
CHAPTER 20 REAL-TIME OS EMBEDDED MB91302A-010 USER'S GUIDE
Objects Name
Event flag
Semaphore
Mailbox
Number of user tasks
void boo (void) {}
Number of Definitions
0 to 32
0 to 32
0 to 32
1 to 64
519

Advertisement

Table of Contents
loading

Table of Contents