|
Last change
on this file was 363, checked in by chronos, 14 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 | |
|---|
| 1 | unit ISPLib;
|
|---|
| 2 |
|
|---|
| 3 | {$MODE Delphi}
|
|---|
| 4 |
|
|---|
| 5 | interface
|
|---|
| 6 |
|
|---|
| 7 | {$INCLUDE Options.inc}
|
|---|
| 8 |
|
|---|
| 9 | uses LCLIntf;
|
|---|
| 10 |
|
|---|
| 11 | {$IFDEF I2C_SUPPORT}
|
|---|
| 12 | function isplib_begin_work:integer; stdcall;
|
|---|
| 13 | function isplib_end_work:integer; stdcall;
|
|---|
| 14 | function isplib_scan (buff:PAnsiChar; bufflen:DWORD):integer; stdcall;
|
|---|
| 15 | function isplib_check:integer; stdcall;
|
|---|
| 16 | procedure isplib_error_desc(code:integer; buff:PAnsiChar; len:DWORD); stdcall;
|
|---|
| 17 | function isplib_erase_all:integer; stdcall;
|
|---|
| 18 | {$ENDIF}
|
|---|
| 19 |
|
|---|
| 20 | implementation
|
|---|
| 21 |
|
|---|
| 22 | {$IFDEF I2C_SUPPORT}
|
|---|
| 23 | const
|
|---|
| 24 | isplib_dll = 'isplib.dll';
|
|---|
| 25 |
|
|---|
| 26 | function isplib_begin_work; external isplib_dll;
|
|---|
| 27 | function isplib_end_work; external isplib_dll;
|
|---|
| 28 | function isplib_scan; external isplib_dll;
|
|---|
| 29 | function isplib_check; external isplib_dll;
|
|---|
| 30 | procedure isplib_error_desc; external isplib_dll;
|
|---|
| 31 | function isplib_erase_all; external isplib_dll;
|
|---|
| 32 | {$ENDIF}
|
|---|
| 33 |
|
|---|
| 34 | end.
|
|---|
| 35 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.