
Series 30i/ 31i/ 32i-A
C executor library for conversion
Programming manual
01 04.05.06
S. Hasegawa
New registration
B-64183EN/01
EDIT
DATE
DESIG.
DESCRIPTION
69/226
DRAW.NO.
3.5.6
Read from the PMC Address (unsigned char)
[Name]
pl_memucrd2
[Syntax]
#include <pmclib.h>
unsigned char pl_memucrd2(unsigned short id, unsigned short offset, short * error);
[Arguments]
Input
id: PMC ADDRESS ID
G:0, F:1, Y:2, X:3, A:4, R:5, T:6, K:7, C:8, D:9, M:10, N:11,
E:12
offset: PMC address offset
Output
*error: Completion code
0: Terminated normally.
–1: The specification of "id" or "offset" is invalid.
If a NULL pointer is specified for "error", no completion code is
returned.
[Return]
A read value is returned.
When the function is terminated abnormally, 0 is returned.
[Description]
This function reads "unsigned char" type value from the PMC address.
[Related Function]
pmc_rdpmcrng(), pmc_wrpmcrng()