USBB17RX78K4-XXX NEC Electronics, USBB17RX78K4-XXX Datasheet - Page 23
USBB17RX78K4-XXX
Manufacturer Part Number
USBB17RX78K4-XXX
Description
78K/4 series realtime OS
Manufacturer
NEC Electronics
Datasheet
1.USBB17RX78K4-XXX.pdf
(96 pages)
- Current page: 23 of 96
- Download datasheet (240Kb)
2.3.2 Semaphore
currently usable resources exist, or manage the number of resources.
semaphore is fixed to 1.
“wai_sem”, “preq_sem”. If the number of resources is 1 or more, the number of resources of the semaphore is
decremented by one.
is not placed in the WAIT state, an error code is returned (preq_sem). If the task does not need the resource any
more, it executes resource return manipulation (V instruction) by issuing system call “sig_sem”. As a consequence,
the number of resources of the semaphore is incremented by one. If there are tasks waiting for a resource at this
time, the task first placed in the WAIT state is released. A task waits for a semaphore on a FIF0 basis only.
14
A semaphore is used to mutually exclude tasks. The semaphore is a measurement that can check whether
The number of requested resources of the wait manipulation (P) and signal manipulation (V) instructions for a
If a task needs a resource, it performs resource acquisition manipulation (P instruction) by issuing system call
If the number of resources is 0, the resource requesting task is placed in the WAIT state (wai_sem), or if the task
CHAPTER 2
BASIC FUNCTIONS OF RX78K/IV
Related parts for USBB17RX78K4-XXX
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Manufacturer:
NEC Electronics
Datasheet:
Part Number:
Description:
Manufacturer:
NEC Electronics
Datasheet:
Part Number:
Description:
Resistance inclusion NPN silicon transistor
Manufacturer:
NEC Electronics
Datasheet:
Part Number:
Description:
MEDIUM SPEED SWITCHING RESISTOR BUILT-IN TYPE NPN TRANSISTOR
Manufacturer:
NEC Electronics
Part Number:
Description:
MEDIUM SPEED SWITCHING RESISTOR BUILT-IN TYPE NPN TRANSISTOR
Manufacturer:
NEC Electronics
Part Number:
Description:
Medium Speed Switching Resistor Built-In Type NPN Transistor
Manufacturer:
NEC Electronics