]> git.zerfleddert.de Git - proxmark3-svn/blob - include/config_gpio.h
Revert "Comms refactor (prerequisite of libproxmark work) (#371)"
[proxmark3-svn] / include / config_gpio.h
1 //-----------------------------------------------------------------------------
2 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
3 // at your option, any later version. See the LICENSE.txt file for the text of
4 // the license.
5 //-----------------------------------------------------------------------------
6 // GPIO pin mapping for the Proxmark3
7 //-----------------------------------------------------------------------------
8
9 #ifndef __CONFIG_GPIO_H
10 #define __CONFIG_GPIO_H
11
12 #define GPIO_LED_A AT91C_PIO_PA0
13 #define GPIO_PA1 AT91C_PIO_PA1
14 #define GPIO_LED_D AT91C_PIO_PA2
15 #define GPIO_NVDD_ON AT91C_PIO_PA3
16 #define GPIO_FPGA_NINIT AT91C_PIO_PA4
17 #define GPIO_PA5 AT91C_PIO_PA5
18 #define GPIO_PCK0 AT91C_PA6_PCK0
19 #define GPIO_LRST AT91C_PIO_PA7
20 #define GPIO_LED_B AT91C_PIO_PA8
21 #define GPIO_LED_C AT91C_PIO_PA9
22 #define GPIO_NCS2 AT91C_PA10_NPCS2
23 #define GPIO_NCS0 AT91C_PA11_NPCS0
24 #define GPIO_MISO AT91C_PA12_MISO
25 #define GPIO_MOSI AT91C_PA13_MOSI
26 #define GPIO_SPCK AT91C_PA14_SPCK
27 #define GPIO_SSC_FRAME AT91C_PA15_TF
28 #define GPIO_SSC_CLK AT91C_PA16_TK
29 #define GPIO_SSC_DOUT AT91C_PA17_TD
30 #define GPIO_SSC_DIN AT91C_PA18_RD
31 #define GPIO_MUXSEL_HIPKD AT91C_PIO_PA19
32 #define GPIO_MUXSEL_LOPKD AT91C_PIO_PA20
33 #define GPIO_MUXSEL_HIRAW AT91C_PIO_PA21
34 #define GPIO_MUXSEL_LORAW AT91C_PIO_PA22
35 #define GPIO_BUTTON AT91C_PIO_PA23
36 #define GPIO_USB_PU AT91C_PIO_PA24
37 #define GPIO_RELAY AT91C_PIO_PA25
38 #define GPIO_FPGA_ON AT91C_PIO_PA26
39 #define GPIO_FPGA_DONE AT91C_PIO_PA27
40 #define GPIO_FPGA_NPROGRAM AT91C_PIO_PA28
41 #define GPIO_FPGA_CCLK AT91C_PIO_PA29
42 #define GPIO_FPGA_DIN AT91C_PIO_PA30
43 #define GPIO_FPGA_DOUT AT91C_PIO_PA31
44
45 #endif
Impressum, Datenschutz