
B–61863E–1/06
14. MMC WINDOW LIBRARYPMC LIBRARY
361
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f f
[Name]
pl_mmcww
[Description]
Writes data of up to 32 bytes via the window between PMC and
MMC-II or MMC-III.
The contents of data can be determined arbitrarily by the PMC,
MMC-II, or MMC-III application program.
[Format]
ret = pl_mmcww(write_len,write_buffer);
short ret ;
unsigned short write_len ;
char *write_buffer ;
[Input]
write_len Specifies the data size (up to 32 bytes) to be sent to
MMC-II or MMC-III.
Data
Data
Data
Data
Data
[Output]
______
[Returns]
ret Complete code : –11, –10, –1, 0, 2, or 6
–11: Initialization of the MMC-II or MMC-III is not completed.
–10: Data is being written.
–1: The request was ignored because this function is being used by
function instruction MMCWW or another task.
0: Normal termination
2: The specified data length is incorrect. (Data length = 0, minus,
or 33 or more)
6: There is no required option. (MMC-II or MMC-III is not
provided.)
[Remarks]
______
14.2
WRITING WINDOW
DATA INTO MMC
0
1
2
3
31
32
write_buffer
Data to be sent to MMC-II or MMC-III is set.