Prosoft-technology MVI69-ADM Manuel d'utilisateur Page 287

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 342
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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)
Vue de la page 286
1 2 ... 282 283 284 285 286 287 288 289 290 291 292 ... 341 342

Commentaires sur ces manuels

Pas de commentaire