53#define I2C0_SDA PIN_DEF( PORT0, 27, (IOCON_FUNC1 | IOCON_MODE_INACT), NON_GPIO )
54#define I2C0_SCL PIN_DEF( PORT0, 28, (IOCON_FUNC1 | IOCON_MODE_INACT), NON_GPIO )
55#define I2C1_SDA PIN_DEF( PORT0, 0, (IOCON_FUNC3 | IOCON_MODE_INACT), NON_GPIO )
56#define I2C1_SCL PIN_DEF( PORT0, 1, (IOCON_FUNC3 | IOCON_MODE_INACT), NON_GPIO )
57#define I2C2_SDA PIN_DEF( PORT0, 10, (IOCON_FUNC2 | IOCON_MODE_INACT), NON_GPIO )
58#define I2C2_SCL PIN_DEF( PORT0, 11, (IOCON_FUNC2 | IOCON_MODE_INACT), NON_GPIO )
61#define UART_DEBUG_TXD PIN_DEF( PORT0, 2, (IOCON_FUNC1 | IOCON_MODE_INACT), NON_GPIO )
62#define UART_DEBUG_RXD PIN_DEF( PORT0, 3, (IOCON_FUNC1 | IOCON_MODE_INACT), NON_GPIO )
65#define SSP0_SCK PIN_DEF( PORT1, 20, (IOCON_FUNC3 | IOCON_MODE_INACT), NON_GPIO )
66#define SSP0_SSEL PIN_DEF( PORT1, 21, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_OUTPUT )
67#define SSP0_MISO PIN_DEF( PORT1, 23, (IOCON_FUNC3 | IOCON_MODE_INACT), NON_GPIO )
68#define SSP0_MOSI PIN_DEF( PORT1, 24, (IOCON_FUNC3 | IOCON_MODE_INACT), NON_GPIO )
72#define SPI_SCK PIN_DEF( PORT0, 15, (IOCON_FUNC3 | IOCON_MODE_INACT), NON_GPIO )
73#define SPI_SSEL PIN_DEF( PORT0, 16, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_OUTPUT )
74#define SPI_MOSI PIN_DEF( PORT0, 18, (IOCON_FUNC3 | IOCON_MODE_INACT), NON_GPIO )
77#define TRACEDATA3 PIN_DEF( PORT2, 2, (IOCON_FUNC3 | IOCON_MODE_INACT), NON_GPIO )
78#define TRACEDATA2 PIN_DEF( PORT2, 3, (IOCON_FUNC3 | IOCON_MODE_INACT), NON_GPIO )
79#define TRACEDATA1 PIN_DEF( PORT2, 4, (IOCON_FUNC3 | IOCON_MODE_INACT), NON_GPIO )
80#define TRACEDATA0 PIN_DEF( PORT2, 5, (IOCON_FUNC3 | IOCON_MODE_INACT), NON_GPIO )
81#define TRACECLK PIN_DEF( PORT2, 6, (IOCON_FUNC3 | IOCON_MODE_INACT), NON_GPIO )
84#define ADC_PAYLOAD_DETECTOR PIN_DEF( PORT0, 24, (IOCON_FUNC1 | IOCON_MODE_INACT), NON_GPIO )
90#define GPIO_I2C_MUX_ADDR1 PIN_DEF( PORT0, 4, (IOCON_FUNC0 | IOCON_MODE_PULLDOWN), GPIO_DIR_OUTPUT )
91#define GPIO_I2C_MUX_ADDR2 PIN_DEF( PORT0, 5, (IOCON_FUNC0 | IOCON_MODE_PULLDOWN), GPIO_DIR_OUTPUT )
92#define GPIO_I2C_SW_RESETn PIN_DEF( PORT0, 19, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_OUTPUT )
95#define GPIO_RTS PIN_DEF( PORT2, 10, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
98#define GPIO_PG_RESETn PIN_DEF( PORT1, 22, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
99#define GPIO_PGOOD_P1V0 PIN_DEF( PORT3, 26, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
101#define GPIO_AMC_RTM_CRITICAL PIN_DEF( PORT1, 26, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
102#define GPIO_AMC_RTM_TC PIN_DEF( PORT1, 28, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
103#define GPIO_AMC_RTM_WARNING PIN_DEF( PORT1, 29, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
104#define GPIO_AMC_RTM_PV PIN_DEF( PORT1, 27, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
107#define GPIO_FMC1_PG_M2C PIN_DEF( PORT1, 16, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
108#define GPIO_FMC2_PG_M2C PIN_DEF( PORT1, 17, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
109#define GPIO_FMC1_PG_C2M PIN_DEF( PORT1, 18, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_OUTPUT )
110#define GPIO_FMC2_PG_C2M PIN_DEF( PORT1, 19, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_OUTPUT )
112#define GPIO_FMC1_CRITICAL PIN_DEF( PORT0, 23, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
113#define GPIO_FMC1_TC PIN_DEF( PORT0, 25, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
114#define GPIO_FMC1_WARNING PIN_DEF( PORT0, 26, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
115#define GPIO_FMC1_PV PIN_DEF( PORT1, 31, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
117#define GPIO_FMC2_CRITICAL PIN_DEF( PORT2, 7, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
118#define GPIO_FMC2_TC PIN_DEF( PORT4, 28, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
119#define GPIO_FMC2_WARNING PIN_DEF( PORT4, 29, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
120#define GPIO_FMC2_PV PIN_DEF( PORT3, 25, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
123#define GPIO_GA0 PIN_DEF( PORT1, 0, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
124#define GPIO_GA1 PIN_DEF( PORT1, 1, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
125#define GPIO_GA2 PIN_DEF( PORT1, 4, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
126#define GPIO_GA_TEST PIN_DEF( PORT1, 8, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_OUTPUT )
129#define GPIO_LEDBLUE PIN_DEF( PORT1, 9, (IOCON_FUNC0 | IOCON_MODE_PULLUP), GPIO_DIR_OUTPUT )
130#define GPIO_LEDGREEN PIN_DEF( PORT1, 10, (IOCON_FUNC0 | IOCON_MODE_PULLDOWN), GPIO_DIR_OUTPUT )
131#define GPIO_LEDRED PIN_DEF( PORT1, 25, (IOCON_FUNC0 | IOCON_MODE_PULLDOWN), GPIO_DIR_OUTPUT )
134#define GPIO_FRONT_BUTTON PIN_DEF( PORT2, 12, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
137#define GPIO_HOT_SWAP_HANDLE PIN_DEF( PORT2, 13, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
140#define GPIO_FPGA_DONE_B PIN_DEF( PORT0, 22, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
141#define GPIO_FPGA_INITB PIN_DEF( PORT0, 20, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_OUTPUT )
142#define GPIO_FPGA_RESET PIN_DEF( PORT2, 9, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_OUTPUT )
145#define GPIO_DAC_VADJ_RST PIN_DEF( PORT0, 21, (IOCON_FUNC0 | IOCON_MODE_PULLUP), GPIO_DIR_OUTPUT )
148#define GPIO_MMC_ENABLE PIN_DEF( PORT2, 8, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
151#define GPIO_OVERTEMPn PIN_DEF( PORT2, 11, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
154#define GPIO_FMC1_JTAG_Override PIN_DEF( PORT2, 1, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_OUTPUT )
155#define GPIO_FMC2_JTAG_Override PIN_DEF( PORT0, 8, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_OUTPUT )
156#define GPIO_RTM_JTAG_Override PIN_DEF( PORT2, 0, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_OUTPUT )
159#define GPIO_EEPROM_WP PIN_DEF( PORT1, 30, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_OUTPUT )
162#define GPIO_CLK_DIR_FMC2 PIN_DEF( PORT0, 6, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
163#define GPIO_CLK_DIR_FMC1 PIN_DEF( PORT0, 7, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
166#define GPIO_FMC1_PRSNT_M2C PIN_DEF( PORT1, 14, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
167#define GPIO_FMC2_PRSNT_M2C PIN_DEF( PORT1, 15, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
170#define GPIO_RTM_PS PIN_DEF( PORT0, 29, (IOCON_FUNC0 | IOCON_MODE_INACT), GPIO_DIR_INPUT )
174#define PIN_CFG_LIST \
195 ADC_PAYLOAD_DETECTOR, \
196 GPIO_I2C_MUX_ADDR1, \
197 GPIO_I2C_MUX_ADDR2, \
198 GPIO_I2C_SW_RESETn, \
202 GPIO_AMC_RTM_CRITICAL, \
204 GPIO_AMC_RTM_WARNING, \
210 GPIO_FMC1_CRITICAL, \
214 GPIO_FMC2_CRITICAL, \
226 GPIO_HOT_SWAP_HANDLE, \
233 GPIO_FMC1_JTAG_Override, \
234 GPIO_FMC2_JTAG_Override, \
235 GPIO_RTM_JTAG_Override, \
239 GPIO_FMC1_PRSNT_M2C, \
240 GPIO_FMC2_PRSNT_M2C, \
@ EXT_GPIO_EN_FMC2_PVADJ
Definition pin_mapping.h:260
@ EXT_GPIO_FPGA_I2C_RESET
Definition pin_mapping.h:269
@ EXT_GPIO_EN_P1V8
Definition pin_mapping.h:257
@ EXT_GPIO_EN_P1V0
Definition pin_mapping.h:256
@ EXT_GPIO_EN_FMC2_P3V3
Definition pin_mapping.h:266
@ EXT_GPIO_EN_FMC1_P3V3
Definition pin_mapping.h:264
@ EXT_GPIO_EN_RTM_MP
Definition pin_mapping.h:268
@ EXT_GPIO_EN_FMC2_P12V
Definition pin_mapping.h:265
@ EXT_GPIO_DAC_VADJ_RSTn
Definition pin_mapping.h:270
@ EXT_GPIO_EN_P3V3
Definition pin_mapping.h:258
@ EXT_GPIO_EN_FMC1_P12V
Definition pin_mapping.h:263
@ EXT_GPIO_EN_FMC1_PVADJ
Definition pin_mapping.h:259
@ EXT_GPIO_PROGRAM_B
Definition pin_mapping.h:271
@ EXT_GPIO_EN_P1V2
Definition pin_mapping.h:262
@ EXT_GPIO_P1V5_VTT_EN
Definition pin_mapping.h:261
@ EXT_GPIO_EN_RTM_PWR
Definition pin_mapping.h:267
struct external_gpio external_gpio_t
const external_gpio_t ext_gpios[16]
Definition pin_mapping.c:8
Definition pin_mapping.h:248
uint8_t pin_num
Definition pin_mapping.h:250
uint8_t port_num
Definition pin_mapping.h:249