參數(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]
文件頁數(shù): 65/96頁
文件大?。?/td> 265K
代理商: RX78K4
CHAPTER 4 RX78K/IV SYSTEM CALL LIST
56
4.3.1
pget_blk (Poll and Get Fixed-Length Memory Block)
[Function]
Gets a memory block of a fixed length.
[Remarks]
Gets a memory block of a fixed length from a memory pool indicated by mplid. This memory block can be
used as a message area for communication between tasks. The size of the memory block is determined on
creation of the system and is fixed. When a memory block can be gotten, the top address of the memory block
is set in an address specified by the parameter. If the memory block cannot be gotten, an error code
“E_PLFAIL” is returned. In either case, the task is not placed in the WAIT state.
The area for p-blk should be allocated by the user.
[System call ID number]
pget_blk = 22
[Parameter]
mplid (Memory Pool Identifier)
Memory pool ID
(Memory pool top address)
Address of area storing the top
address of the memory block
- 24 bits (large model)
- 16 bits (small model)
- 24 bits (large model)
- 16 bits (small model)
p_blk (Pointer of Block Start Address)
[Return parameter]
E_OK
E_PLFAIL
Normal termination
Polling failed
[Assembler format]
[Large model]
MOV
MOVW
MOV
MOVW
MOV
CALLT
[Small model]
MOV
MOVW
MOVW
CALLT
bnk0_b, #22
bnk0_up, #mplid
bnk0_d, #mplid
bnk0_vp, #p_blk
bnk0_e, #p_blk
[40H]
:
bnk0_b, #22
bnk0_up, #mplid
bnk0_vp, #p_blk
[40H]
:
C register = return parameter
C register = return parameter
[C format]
ret = pget_blk (p_blk,mplid);
char
**p_blk;
char
*mplid;
相關(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 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-101K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-102K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-121K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS
RX7P-NP-122K 制造商:SUMIDA 制造商全稱:Sumida Corporation 功能描述:POWER INDUCTORS