參數(shù)資料
型號(hào): RX78K4
英文描述: 78K/IV Series Real-Time OS Fundamental | User's Manual[01/1997]
中文描述: 78K/IV系列實(shí)時(shí)操作系統(tǒng)的基本|用戶手冊(cè)[01/1997]
文件頁(yè)數(shù): 57/96頁(yè)
文件大?。?/td> 265K
代理商: RX78K4
CHAPTER 4 RX78K/IV SYSTEM CALL LIST
48
4.2.7
sig_sem (Signal Semaphore)
isig_sem (Signal Semaphore for Interrupt)
[Function]
Executes signal manipulation for semaphore (V instruction).
[Remarks]
If tasks exist that wait for a semaphore indicated by semid, the task at the top of the queue is placed in the
READY state. If no task is waiting for the semaphore, the count value of the semaphore is increased by one.
If the count value of the semaphore is about to exceed the upper limit (0FFH), “E_QOVR” is returned as an
error code.
[System call ID number]
sig_sem = 16
[Parameter]
semid (Semaphore Identifier)
Semaphore ID (Semaphore top address)
- 24 bits (large model)
- 16 bits (small model)
[Return parameter]
E_OK
E_QOVR
Normal termination
Queue overflow
[Assembler format]
On issuing sig_sem
[Large model]
MOV
MOVW
MOV
CALLT
[Small model]
MOV
MOVW
CALLT
bnk0_b, #16
bnk0_up, #semid
bnk0_d, #semid
[40H]
:
bnk0_b, #16
bnk0_up, #semid
[40H]
:
C register = return parameter
C register = return parameter
On issuing isig_sem
[Large model]
MOVG
CALLT
[Small model]
MOVW
CALLT
UUP, #semid
[4AH]
:
UP, #semid
[4AH]
:
C register = return parameter
C register = return parameter
[C format]
On issuing sig_sem
ret = sig_sem (semid);
char
On issuing isig_sem
ret = isig_sem (semid);
char
*semid;
*semid;
相關(guān)PDF資料
PDF描述
RXB06150W TRANSISTOR | BJT | NPN | 15V V(BR)CEO | FO-91VAR
RXB12350Y Bipolar NPN UHF/Microwave Transisitor
RXE005 Poly Switch PTC DEVICES
RXE010S Poly Switch PTC DEVICES
RXE025 MULTISICHERUNG RXE 0.25A
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
RX-7P 制造商:SUMIDA 制造商全稱(chēng):Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-101K 制造商:SUMIDA 制造商全稱(chēng):Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-102K 制造商:SUMIDA 制造商全稱(chēng):Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-121K 制造商:SUMIDA 制造商全稱(chēng):Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-122K 制造商:SUMIDA 制造商全稱(chēng):Sumida Corporation 功能描述:POWER INDUCTORS