Add a few parameters needed for parallel programming: assignment of

PAGEL and BS2 signals and the disposition of the reset pin
('dedicated' or 'io').


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@202 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Brian S. Dean
2003-02-20 14:11:34 +00:00
parent e4b8507952
commit 8aa98920ef
5 changed files with 68 additions and 3 deletions

View File

@@ -51,6 +51,11 @@ enum {
AVR_CMDBIT_OUTPUT /* this bit is an output bit */
};
enum { /* these are assigned to reset_disposition of AVRPART */
RESET_DEDICATED, /* reset pin is dedicated */
RESET_IO /* reset pin might be configured as an I/O pin */
};
/*
* serial programming instruction bit specifications
*/
@@ -72,6 +77,10 @@ typedef struct avrpart {
char id[AVR_IDLEN]; /* short part name */
int devicecode; /* Atmel STK500 device code */
int chip_erase_delay; /* microseconds */
unsigned char pagel; /* for parallel programming */
unsigned char bs2; /* for parallel programming */
int reset_disposition; /* see RESET_ enums */
OPCODE * op[AVR_OP_MAX]; /* opcodes */
LISTID mem; /* avr memory definitions */