
B–61863E–1/06
14. MMC WINDOW LIBRARYPMC LIBRARY
363
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f
[Name]
pl_mmc3w
[Description]
Writes data of up to 256 bytes via the window between PMC and
MMC. The contents of data can be determined arbitrarily by the PMC
or MMC-III application program.
[Format]
ret = pl_mmc3w(buffer_no,offset,data_len,write_buffer);
short ret ;
unsigned short buffer_no,offset,data_len ;
char *write_buffer ;
[Input]
buffer_no : Specifies the buffer in which data is written.
offset : Specifies the point from which data writing starts, as
a relative value from the beginning of the buffer.
data_len : Specifies the number of data items to be written into
MMC-III. (Up to 256 bytes)
*write_buffer : Specifies the address in which data to be written into
MMC-III was stored.
Data
Data
Data
[Output]
______
[Returns]
ret Complete code : –11, 0, 2, 3, or 6
–11: Initialization of the MMC-III is not completed. (The buffer is
not initialized.)
0: Normal termination
2: The specified data length is incorrect. (Data length = 0 or
negative value, or offset + data length exceeds the buffer range)
3: There is no specified buffer. (A buffer number other than 1 to
10 is specified.)
6: There is no required option. (MMC-III is not provided.)
[Remarks]
______
14.4
WRITING WINDOW
DATA INTO MMC
(MMC-III)
0
1
2
254
255
write_buffer
Data to be sent to MMC-III is set.