aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/src/openpcd.h
diff options
context:
space:
mode:
authorlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-12-18 12:32:48 +0000
committerlaforge <laforge@6dc7ffe9-61d6-0310-9af1-9938baff3ed1>2006-12-18 12:32:48 +0000
commit6c6b1878f4e3b9b848f6329e98d27db7b99c212b (patch)
tree43386acccc982edd82cae447a6c495e6fb154ec8 /firmware/src/openpcd.h
parent5200cf56dd9f0c698011c59b96abdb447a76ac1f (diff)
- add new DAC driver (instead of poti) for PICC
- DFU: put all DEBUG_ defines in "#ifdef DEBUG" enclosure - alter GPIO defines for new OpenPICC v0.4 prototype - add new AT91F_DBGU_Fini() function - take care of new inverted USB pullip in OpenPICC v0.4 prototype - fix typo in 'opicc_reg_write' macro - add some more PICC related SSC code NOTE: this firmware is the first version that will _NOT_ run on a OpenPICC v0.3 anymore! (All changes by Henryk Ploetz) git-svn-id: https://svn.openpcd.org:2342/trunk@283 6dc7ffe9-61d6-0310-9af1-9938baff3ed1
Diffstat (limited to 'firmware/src/openpcd.h')
-rw-r--r--firmware/src/openpcd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/firmware/src/openpcd.h b/firmware/src/openpcd.h
index f84f121..a65cd0e 100644
--- a/firmware/src/openpcd.h
+++ b/firmware/src/openpcd.h
@@ -26,7 +26,7 @@
#define USB_PRODUCT_ID OPENPCD_PRODUCT_ID
#elif defined(PICC)
#define OPENPCD_PIO_UDP_CNX NO_UDP_CNX
-#define OPENPCD_PIO_UDP_PUP AT91C_PIO_PA22
+#define OPENPCD_PIO_UDP_PUPv4 AT91C_PIO_PA16
#define OPENPCD_PIO_LED1 AT91C_PIO_PA25
#define OPENPCD_PIO_LED2 AT91C_PIO_PA12
#define PIO_BOOTLDR AT91C_PIO_PA6
@@ -153,7 +153,9 @@
#define OPENPICC_PIO_SS1_GAIN AT91C_PIO_PA11
#define OPENPICC_PIO_PLL_LOCK AT91C_PIO_PA4
-#define OPENPICC_PIO_AB_DETECT AT91C_PIO_PA20
+#define OPENPICC_PIO_FRAME AT91C_PIO_PA20
+#define OPENPICC_PIO_SSC_DATA_CONTROL AT91C_PIO_PA21
+#define OPENPICC_PIO_AB_DETECT AT91C_PIO_PA22
#define OPENPICC_PIO_PLL_INHIBIT AT91C_PIO_PA24
#define OPENPICC_ADC_FIELD_STRENGTH AT91C_ADC_CH4