Lenze DDS Function library MemDrv Manuale Utente Pagina 34

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 34
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 33
5.4 L_MemSaveRamToFlash
Function library LenzeMemDrv.lib
Functions for RAM memory access
5−6
L
LenzeMemDrv.lib EN 1.1
Example
Calling the function in ST:
(* save to FLASH if last copy action (L_MemSaveRamToFlash) *)
(* is finished *)
nMemState := L_MemGetStateDriver(byVoid := 0);
bDriverBusy := INT_TO_BOOL(nMemState AND 16#0008);
IF bDriverBusy = FALSE THEN
nReturn := L_MemSaveRamToFlash(byRamBlockNr := 1
byFlashBlockNr := 2);
END_IF
(* check function return value *)
Vedere la pagina 33
1 2 ... 29 30 31 32 33 34

Commenti su questo manuale

Nessun commento