70 #define LEDS_ARCH_L1_PORT GPIO_D_NUM 71 #define LEDS_ARCH_L1_PIN 5 72 #define LEDS_ARCH_L2_PORT GPIO_D_NUM 73 #define LEDS_ARCH_L2_PIN 4 74 #define LEDS_ARCH_L3_PORT GPIO_D_NUM 75 #define LEDS_ARCH_L3_PIN 3 77 #define LEDS_CONF_RED 1 78 #define LEDS_CONF_GREEN 2 79 #define LEDS_CONF_BLUE 4 81 #define LEDS_CONF_COUNT 3 88 #ifdef USB_PULLUP_PORT 89 #undef USB_PULLUP_PORT 114 #define UART0_RX_PORT GPIO_A_NUM 115 #define UART0_RX_PIN 0 116 #define UART0_TX_PORT GPIO_A_NUM 117 #define UART0_TX_PIN 1 119 #define UART1_RX_PORT GPIO_C_NUM 120 #define UART1_RX_PIN 1 121 #define UART1_TX_PORT GPIO_C_NUM 122 #define UART1_TX_PIN 0 123 #define UART1_CTS_PORT (-1) 124 #define UART1_CTS_PIN (-1) 125 #define UART1_RTS_PORT (-1) 126 #define UART1_RTS_PIN (-1) 137 #define BUTTON_USER_PORT GPIO_A_NUM 138 #define BUTTON_USER_PIN 3 139 #define BUTTON_USER_VECTOR GPIO_A_IRQn 142 #define PLATFORM_HAS_BUTTON 1 161 #define ADC_SENSORS_PORT GPIO_A_NUM 162 #define ADC_SENSORS_ADC1_PIN 2 163 #define ADC_SENSORS_ADC2_PIN 4 164 #define ADC_SENSORS_ADC3_PIN 5 165 #define ADC_SENSORS_ADC4_PIN 6 166 #define ADC_SENSORS_ADC5_PIN (-1) 167 #define ADC_SENSORS_ADC6_PIN (-1) 168 #define ADC_SENSORS_MAX 4 181 #define SPI0_CLK_PORT GPIO_B_NUM 182 #define SPI0_CLK_PIN 2 183 #define SPI0_TX_PORT GPIO_B_NUM 184 #define SPI0_TX_PIN 1 185 #define SPI0_RX_PORT GPIO_B_NUM 186 #define SPI0_RX_PIN 3 198 #define SPI1_CLK_PORT GPIO_C_NUM 199 #define SPI1_CLK_PIN 4 200 #define SPI1_TX_PORT GPIO_C_NUM 201 #define SPI1_TX_PIN 5 202 #define SPI1_RX_PORT GPIO_C_NUM 203 #define SPI1_RX_PIN 6 213 #define I2C_SCL_PORT GPIO_C_NUM 214 #define I2C_SCL_PIN 3 215 #define I2C_SDA_PORT GPIO_C_NUM 216 #define I2C_SDA_PIN 2 217 #define I2C_INT_PORT GPIO_D_NUM 218 #define I2C_INT_PIN 2 219 #define I2C_INT_VECTOR GPIO_D_IRQn 228 #ifndef REMOTE_DUAL_RF_ENABLED 229 #define REMOTE_DUAL_RF_ENABLED 1 241 #define CC1200_SPI_INSTANCE 0 242 #define CC1200_SPI_SCLK_PORT SPI0_CLK_PORT 243 #define CC1200_SPI_SCLK_PIN SPI0_CLK_PIN 244 #define CC1200_SPI_MOSI_PORT SPI0_TX_PORT 245 #define CC1200_SPI_MOSI_PIN SPI0_TX_PIN 246 #define CC1200_SPI_MISO_PORT SPI0_RX_PORT 247 #define CC1200_SPI_MISO_PIN SPI0_RX_PIN 248 #define CC1200_SPI_CSN_PORT GPIO_B_NUM 249 #define CC1200_SPI_CSN_PIN 5 250 #define CC1200_GDO0_PORT GPIO_B_NUM 251 #define CC1200_GDO0_PIN 4 252 #define CC1200_GDO2_PORT GPIO_B_NUM 253 #define CC1200_GDO2_PIN 0 254 #define CC1200_RESET_PORT GPIO_C_NUM 255 #define CC1200_RESET_PIN 7 256 #define CC1200_GPIOx_VECTOR GPIO_B_IRQn 267 #define ETH_SPI_INSTANCE 1 268 #define ETH_SPI_CLK_PORT SPI1_CLK_PORT 269 #define ETH_SPI_CLK_PIN SPI1_CLK_PIN 270 #define ETH_SPI_MOSI_PORT SPI1_TX_PORT 271 #define ETH_SPI_MOSI_PIN SPI1_TX_PIN 272 #define ETH_SPI_MISO_PORT SPI1_RX_PORT 273 #define ETH_SPI_MISO_PIN SPI1_RX_PIN 274 #define ETH_SPI_CSN_PORT GPIO_A_NUM 275 #define ETH_SPI_CSN_PIN 7 276 #define ETH_INT_PORT GPIO_D_NUM 277 #define ETH_INT_PIN 0 278 #define ETH_RESET_PORT GPIO_D_NUM 279 #define ETH_RESET_PIN 1 292 #define EXT_WDT_PORT GPIO_D_NUM 293 #define EXT_WDT_PIN 5 300 #define BOARD_STRING "Zolertia Orion Ethernet Router" Header file for the ARM Nested Vectored Interrupt Controller.
Header file with register and macro declarations for the cc2538 GPIO module.