Fujitsu FR60 Hardware Manual page 545

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

Advertisement

❍ Semaphore Definition Tab
Register the semaphores to be used by the system. Register all of ID numbers 1 through 32 in
ascending order.
Even though the number of semaphores to be actually used is less than 32, be sure to register
32 semaphores.
Table 20.6-5 Setup with the Semaphore Definition Tab
Item
1 Name (E)
2 Initial count (C)
3 Maximum count (M)
4 ID number (D)
5 Extensive information (O) Free
This development example assumes the following with regard to semaphores.
$ Number of semaphores
$ Semaphore count
This development example requires the following settings with the semaphore definition tab of
Configurator.
Semaphore ID1 to ID10
Semaphore ID11 to ID20
Semaphore ID21 to ID32
❍ Event Flag Definition Tab
Register the event flags to be used by the system. Register all of ID numbers 1 through 32 in
ascending order.
Even though the number of event flags to be actually used is less than 32, be sure to register 32
event flags.
Table 20.6-6 Setup with the Event Flag Definition Tab
Item
1 Name (E)
2 Initial Pattern (P)
3 ID number (D)
4 Extensive information (O) Free
This development example assumes the following with regard to event flags.
$ Number of event flags
$ Initial Pattern
CHAPTER 20 REAL-TIME OS EMBEDDED MB91302A-010 USER'S GUIDE
Set value
Free
Set freely
Free
Set freely
Free
Set freely
D'1 to 32
Be sure to set D'1 through D'32 in ascending order.
Set freely
20
Semaphore ID1 to ID10
SemaphoreID11 to ID20
Initial count (C)
Maximum count (M)
Initial count (C)
Maximum count (M)
Initial count (C)
Maximum count (M)
Set value
Free
Set freely
Free
Set freely
D'1 to 32
Be sure to set D'1 through D'32 in ascending order.
Set freely
32
Flag ID1 to ID16
Flag ID17 to ID32
Remarks
-> Max. 15 / Initial value 0
-> Max. 20 / Initial value 0
->
D'0
->
D'15
->
D'0
->
D'20
->
->
D'0
Define blank task
->
D'8
Remarks
-> 0x0000
-> 0xFFFF
525

Advertisement

Table of Contents
loading

Table of Contents