8 syswriteconfigbyte, 9 syswriteconfigword, Syswriteconfigbyte -10 – Intel Evaluation Platform Board Manual IQ80960RM User Manual
Page 48: Syswriteconfigword -10
5-10
IQ80960RM/RN
Evaluation Board Manual
MON960 Support for IQ80960RM/RN
5.4.2.8
sysWriteConfigByte
This function allows the caller to write individual bytes to the configuration space of a specific device.
Calling convention:
int sysWriteConfigByte (
int
bus_number,
int
device_number,
int
function_number,
int
register_number,
/* 0,1,2,...,255 */
UINT8
*data
);
Return values:
This function returns SUCCESSFUL when the indicated byte was written correctly, or ERROR
when there is a problem with the parameters.
5.4.2.9
sysWriteConfigWord
This function allows the caller to write individual shorts (16 bits) to the configuration space of a specific
device. The Register Number parameter must be a multiple of two (i.e., bit 0 must be set to “0”).
Calling convention:
int sysWriteConfigWord (
int
bus_number,
int
device_number,
int
function_number,
int
register_number,
/* 0,2,4,...,254 */
UINT16 *data
);
Return values:
This function returns SUCCESSFUL when the indicated word was written correctly, or ERROR
when there is a problem with the parameters.