To call parameters saved in the ROM
int FAS_GetROMParameter(
BYTE nPortNo,
BYTE iSlaveNo,
BYTE iParamNo,
long* lROMParam
);
nPortNo
Port number of relevant drive
iSlaveNo
Slave number of relevant drive
iParamNo
Parameter number to be brought
lROMParam
Parameter values saved in the ROM
FMM_OK : Command has been successfully performed.
FMM_NOT_OPEN : The drive has not been connected yet .
FMM_INVALID_PORT_NUM : There is no nPort in the connected ports.
FMM_INVALID_SLAVE_NUM : There is no drive of iSlaveNo in the relevant port.
FMM_INVALID_PARAMETER_NUM : There is no parameter of designated iParamNo.
To call parameter values saved in the ROM
Even though this function runs, the value in the RAM is not changed. For this, run
FAS_SetParameter.
Refer to ‘FAS_SaveAllParameter’ library.