RadiSys 6200plus Series Manual de usuario Pagina 156

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 275
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 155
Appendix
A
Sample
Applications
A-34
PLC540V_PCCC_DLC_RPY_TYPE replyPacket;
PLC540V_STATUS_TYPE status;
plc540v_pccc_download_complete(kvmeSlaveAddress,
kplc540vUla,
kVME_D16_DATA_WIDTH,
kVME_A24_ADDR_SPACE,
&replyPacket,
&status);
if(status.plc540vStatus != 0)
{
printf(”\nDownload Complete command failed.”);
exit(1);
}
}
/***************************************************************************/
/***************************** DOWNLOAD_ALL ********************************/
/***************************************************************************/
void download_all(void)
{
// Issue the download all request.
PLC540V_STATUS_TYPE status;
PLC540V_PCCC_DLA_RPY_TYPE replyPacket;
plc540v_pccc_download_all(kvmeSlaveAddress,
kplc540vUla,
kVME_D16_DATA_WIDTH,
kVME_A24_ADDR_SPACE,
&replyPacket,
&status);
if(status.plc540vStatus != 0)
{
printf(”\nDownload All command failed.”);
exit(1);
}
}
.AUTODEPEND
# *Translator Definitions*
CC = bcc +DOWNLOAD.CFG
TASM = TASM
TLIB = tlib
TLINK = tlink
LIBPATH = C:\BORLANDC\LIB
INCLUDEPATH = C:\BORLANDC\INCLUDE
# *Implicit Rules*
.c.obj:
$(CC) -c {$< }
.cpp.obj:
$(CC) -c {$< }
# *List Macros*
DOWNLOAD.MAK
Vista de pagina 155
1 2 ... 151 152 153 154 155 156 157 158 159 160 161 ... 274 275

Comentarios a estos manuales

Sin comentarios