Prosoft-technology MVI69-ADM Manual de usuario Pagina 287

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 342
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 286
MVI-ADM 'C' Programmable CIP Messaging Library Functions
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 287 of 342
February 20, 2013
flashupdate_proc
Syntax
MVICALLBACK flashupdate_proc( );
Parameters
None
Description
flashupdate_proc is an optional callback function which may be passed to the
CIP API in the MVIcip_RegisterFlashUpdateRtn call. If the flashupdate_proc
callback has been registered, it will be called if the backplane device driver
receives a flash update command. This allows the application an opportunity to
take appropriate actions before it is stopped.
Return Value
The flashupdate_proc routine must return MVI_SUCCESS.
Example
MVIHANDLE Handle;
MVICALLBACK flashupdate_proc( void )
{
// Take whatever action is appropriate for the application:
// - Set local I/O to safe state
// - Trigger an orderly shutdown
return(MVI_SUCCESS);
}
See Also
MVIcip_RegisterFlashUpdateRtn (page 291)
Vista de pagina 286
1 2 ... 282 283 284 285 286 287 288 289 290 291 292 ... 341 342

Comentarios a estos manuales

Sin comentarios