Contiki-NG
|
Header file with definitions related to the I/O connections on the TI SmartRF06EB. More...
Go to the source code of this file.
Macros | |
SmartRF LED configuration | |
LEDs on the SmartRF06 (EB and BB) are connected as follows:
LED1 shares the same pin with the USB pullup | |
USB configuration | |
The USB pullup is driven by PC0 and is shared with LED1 | |
UART configuration | |
On the SmartRF06EB, the UART (XDS back channel) is connected to the following ports/pins
We configure the port to use UART0. To use UART1, replace UART0_* with UART1_* below. | |
SmartRF Button configuration | |
Buttons on the SmartRF06 are connected as follows:
| |
#define | BUTTON_SELECT_PORT GPIO_A_NUM |
BUTTON_SELECT -> PA3. | |
#define | BUTTON_LEFT_PORT GPIO_C_NUM |
BUTTON_LEFT -> PC4. | |
#define | BUTTON_RIGHT_PORT GPIO_C_NUM |
BUTTON_RIGHT -> PC5. | |
#define | BUTTON_UP_PORT GPIO_C_NUM |
BUTTON_UP -> PC6. | |
#define | BUTTON_DOWN_PORT GPIO_C_NUM |
BUTTON_DOWN -> PC7. | |
ADC configuration | |
These values configure which CC2538 pins and ADC channels to use for the ADC inputs. ADC inputs can only be on port A. | |
#define | ADC_ALS_PWR_PORT GPIO_A_NUM |
ALS power GPIO control port. | |
#define | ADC_ALS_PWR_PIN 7 |
ALS power GPIO control pin. | |
#define | ADC_ALS_OUT_PIN 6 |
ALS output ADC input pin on port A. | |
SPI configuration | |
These values configure which CC2538 pins to use for the SPI lines. Both SPI instances can be used independently by providing the corresponding port / pin macros. | |
CC2538 TSCH configuration | |
Device string used on startup |
Header file with definitions related to the I/O connections on the TI SmartRF06EB.
Definition in file board.h.