
5. PMC ADDRESS ACCESS
B–61863E–1/06
PMC LIBRARY
196
SC/SC3/SC4 NB/NB2 16i/18i/21i 15i–A
f f f f
[Name]
pl_membwrt2
[Description]
Changes the one bit of data at a specified PMC address.
[Format]
ret = pl_membwrt2(id,offset_addr,bit_pos, bit_inf) ;
short ret ;
unsigned short id ;
unsigned short offset_addr ;
unsigned short bit_pos
short bit_inf ;
[Input]
id Identification code of the PMC address
offset_addr Offset address from the PMC address of each format
bit_pos Bit position
bit_inf Bit state (0 or 1)
[Output]
______
[Returns]
ret
0 : Normal termination
–1 : When an error occurs, that is, when a value beyond the range
is specified, –1 is returned.
[Remarks]
The R9000 number level is generally write disabled since it is used
by the PMC management software.
5.6
WRITING A ONE BIT
LONG DATA ITEM
INTO THE PMC
ADDRESS AREA