source: ISPProgrammer/ISPprog/ISPLib.pas

Last change on this file was 363, checked in by chronos, 13 years ago
  • Added: Package ISPProgrammer for in-system programming of various chips. Supports Dallas ISP protocol, Presto, Rabbit RFU and some others Atmel devices.
File size: 848 bytes
Line 
1unit ISPLib;
2
3{$MODE Delphi}
4
5interface
6
7{$INCLUDE Options.inc}
8
9uses LCLIntf;
10
11{$IFDEF I2C_SUPPORT}
12function isplib_begin_work:integer; stdcall;
13function isplib_end_work:integer; stdcall;
14function isplib_scan (buff:PAnsiChar; bufflen:DWORD):integer; stdcall;
15function isplib_check:integer; stdcall;
16procedure isplib_error_desc(code:integer; buff:PAnsiChar; len:DWORD); stdcall;
17function isplib_erase_all:integer; stdcall;
18{$ENDIF}
19
20implementation
21
22{$IFDEF I2C_SUPPORT}
23const
24 isplib_dll = 'isplib.dll';
25
26function isplib_begin_work; external isplib_dll;
27function isplib_end_work; external isplib_dll;
28function isplib_scan; external isplib_dll;
29function isplib_check; external isplib_dll;
30procedure isplib_error_desc; external isplib_dll;
31function isplib_erase_all; external isplib_dll;
32{$ENDIF}
33
34end.
35
Note: See TracBrowser for help on using the repository browser.