Lenze DDS Function library MemDrv User Manual Page 34

  • Download
  • Add to my manuals
  • Print
  • Page
    / 34
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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 *)
Page view 33
1 2 ... 29 30 31 32 33 34

Comments to this Manuals

No comments