diff options
Diffstat (limited to '')
-rw-r--r-- | sw-avr/rom-loader/pinmap.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sw-avr/rom-loader/pinmap.h b/sw-avr/rom-loader/pinmap.h new file mode 100644 index 0000000..1149feb --- /dev/null +++ b/sw-avr/rom-loader/pinmap.h @@ -0,0 +1,19 @@ +#ifndef PINMAP_H +#define PINMAP_H + +#define ADDRL_DDR DDRC +#define ADDRL_PORT PORTC +#define ADDRL_bitE 3 +#define ADDRL_bitD 4 +#define ADDRL_bitA0 0 + +#define ADDRH_DDR DDRD +#define ADDRH_PORT PORTD +#define ADDRH_bitE 7 +#define ADDRH_bitD 3 +#define ADDRH_bitA0 4 + +#define DATA_DDR DDRB +#define DATA_PORT PORTB + +#endif |