|
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:
1.0 KB
|
| Line | |
|---|
| 1 | unit UCPUType;
|
|---|
| 2 |
|
|---|
| 3 | {$mode delphi}
|
|---|
| 4 |
|
|---|
| 5 | interface
|
|---|
| 6 |
|
|---|
| 7 | uses
|
|---|
| 8 | Classes, SysUtils;
|
|---|
| 9 |
|
|---|
| 10 | type
|
|---|
| 11 | TCPUType = (ctUnknown, ctAVR8, ctAVR32, ctAT82S8253, ctAT89S8252, ctAT89S52,
|
|---|
| 12 | ctDS89C450, ctRC3000, ctARM);
|
|---|
| 13 |
|
|---|
| 14 | var
|
|---|
| 15 | CPUTypeText: array[TCPUType] of string;
|
|---|
| 16 |
|
|---|
| 17 | resourcestring
|
|---|
| 18 | SCPUTypeUnknown = 'Unknown';
|
|---|
| 19 | SCPUTypeAVR8 = 'AVR8';
|
|---|
| 20 | SCPUTypeAVR32 = 'AVR32';
|
|---|
| 21 | SCPUTypeAT89S8252 = 'AT89S8252';
|
|---|
| 22 | SCPUTypeAT82S8253 = 'AT82S8253';
|
|---|
| 23 | SCPUTypeAT89S52 = 'AT89S52';
|
|---|
| 24 | SCPUTypeDS89C450 = 'DS89C450';
|
|---|
| 25 | SCPUTypeRC3000 = 'RC3000';
|
|---|
| 26 | SCPUTypeARM = 'ARM';
|
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 | procedure UpdateTranslation;
|
|---|
| 30 |
|
|---|
| 31 | implementation
|
|---|
| 32 |
|
|---|
| 33 | procedure UpdateTranslation;
|
|---|
| 34 | begin
|
|---|
| 35 | CPUTypeText[ctUnknown] := SCPUTypeUnknown;
|
|---|
| 36 | CPUTypeText[ctAVR8] := SCPUTypeAVR8;
|
|---|
| 37 | CPUTypeText[ctAVR32] := SCPUTypeAVR32;
|
|---|
| 38 | CPUTypeText[ctDS89C450] := SCPUTypeDS89C450;
|
|---|
| 39 | CPUTypeText[ctAT89S8252] := SCPUTypeAT89S8252;
|
|---|
| 40 | CPUTypeText[ctAT82S8253] := SCPUTypeAT82S8253;
|
|---|
| 41 | CPUTypeText[ctAT89S52] := SCPUTypeAT89S52;
|
|---|
| 42 | CPUTypeText[ctRC3000] := SCPUTypeRC3000;
|
|---|
| 43 | CPUTypeText[ctARM] := SCPUTypeARM;
|
|---|
| 44 | end;
|
|---|
| 45 |
|
|---|
| 46 | end.
|
|---|
| 47 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.