Contiki-NG

Header file with definitions related to the I/O connections on the TI SmartRF06 Evaluation Board with a CC26xxEM. More...

#include "ioc.h"

Go to the source code of this file.

Macros

LED HAL configuration

Those values are not meant to be modified by the user

#define LEDS_CONF_COUNT   4
 
#define LEDS_CONF_RED   1
 
#define LEDS_CONF_YELLOW   2
 
#define LEDS_CONF_GREEN   4
 
#define LEDS_CONF_ORANGE   8
 
LED IOID mappings

Those values are not meant to be modified by the user

#define BOARD_IOID_LED_1   IOID_25
 
#define BOARD_IOID_LED_2   IOID_27
 
#define BOARD_IOID_LED_3   IOID_7
 
#define BOARD_IOID_LED_4   IOID_6
 
UART IOID mapping

Those values are not meant to be modified by the user

#define BOARD_IOID_UART_RX   IOID_2
 
#define BOARD_IOID_UART_TX   IOID_3
 
#define BOARD_IOID_UART_CTS   IOID_UNUSED
 
#define BOARD_IOID_UART_RTS   IOID_UNUSED
 
#define BOARD_UART_RX   (1 << BOARD_IOID_UART_RX)
 
#define BOARD_UART_TX   (1 << BOARD_IOID_UART_TX)
 
#define BOARD_UART_CTS   (1 << BOARD_IOID_UART_CTS)
 
#define BOARD_UART_RTS   (1 << BOARD_IOID_UART_RTS)
 
Button IOID mapping

Those values are not meant to be modified by the user

#define BOARD_IOID_KEY_LEFT   IOID_15
 
#define BOARD_IOID_KEY_RIGHT   IOID_18
 
#define BOARD_IOID_KEY_UP   IOID_19
 
#define BOARD_IOID_KEY_DOWN   IOID_12
 
#define BOARD_IOID_KEY_SELECT   IOID_11
 
#define BOARD_KEY_LEFT   (1 << BOARD_IOID_KEY_LEFT)
 
#define BOARD_KEY_RIGHT   (1 << BOARD_IOID_KEY_RIGHT)
 
#define BOARD_KEY_UP   (1 << BOARD_IOID_KEY_UP)
 
#define BOARD_KEY_DOWN   (1 << BOARD_IOID_KEY_DOWN)
 
#define BOARD_KEY_SELECT   (1 << BOARD_IOID_KEY_SELECT)
 
3.3V domain IOID mapping

Those values are not meant to be modified by the user

#define BOARD_IOID_3V3_EN   IOID_13
 
#define BOARD_3V3_EN   (1 << BOARD_IOID_3V3_EN)
 
SPI IOID mapping

Those values are not meant to be modified by the user

#define BOARD_IOID_SPI_SCK   IOID_10
 
#define BOARD_IOID_SPI_MOSI   IOID_9
 
#define BOARD_IOID_SPI_MISO   IOID_8
 
#define BOARD_SPI_SCK   (1 << BOARD_IOID_SPI_SCK)
 
#define BOARD_SPI_MOSI   (1 << BOARD_IOID_SPI_MOSI)
 
#define BOARD_SPI_MISO   (1 << BOARD_IOID_SPI_MISO)
 
LCD IOID mapping

Those values are not meant to be modified by the user

#define BOARD_IOID_LCD_MODE   IOID_4
 
#define BOARD_IOID_LCD_RST   IOID_5
 
#define BOARD_IOID_LCD_CS   IOID_14
 
#define BOARD_IOID_LCD_SCK   BOARD_IOID_SPI_SCK
 
#define BOARD_IOID_LCD_MOSI   BOARD_IOID_SPI_MOSI
 
#define BOARD_LCD_MODE   (1 << BOARD_IOID_LCD_MODE)
 
#define BOARD_LCD_RST   (1 << BOARD_IOID_LCD_RST)
 
#define BOARD_LCD_CS   (1 << BOARD_IOID_LCD_CS)
 
#define BOARD_LCD_SCK   BOARD_SPI_SCK
 
#define BOARD_LCD_MOSI   BOARD_SPI_MOSI
 
SD Card IOID mapping

Those values are not meant to be modified by the user

#define BOARD_IOID_SDCARD_CS   IOID_30
 
#define BOARD_SDCARD_CS   (1 << BOARD_IOID_SDCARD_CS)
 
#define BOARD_IOID_SDCARD_SCK   BOARD_IOID_SPI_SCK
 
#define BOARD_SDCARD_SCK   BOARD_SPI_SCK
 
#define BOARD_IOID_SDCARD_MOSI   BOARD_IOID_SPI_MOSI
 
#define BOARD_SDCARD_MOSI   BOARD_SPI_MOSI
 
#define BOARD_IOID_SDCARD_MISO   BOARD_IOID_SPI_MISO
 
#define BOARD_SDCARD_MISO   BOARD_SPI_MISO
 
ALS IOID mapping

Those values are not meant to be modified by the user

#define BOARD_IOID_ALS_PWR   IOID_26
 
#define BOARD_IOID_ALS_OUT   IOID_23
 
#define BOARD_ALS_PWR   (1 << BOARD_IOID_ALS_PWR)
 
#define BOARD_ALS_OUT   (1 << BOARD_IOID_ALS_OUT)
 
ACC IOID mapping

Those values are not meant to be modified by the user

#define BOARD_IOID_ACC_PWR   IOID_20
 
#define BOARD_IOID_ACC_INT   IOID_28
 
#define BOARD_IOID_ACC_INT1   IOID_28
 
#define BOARD_IOID_ACC_INT2   IOID_29
 
#define BOARD_IOID_ACC_CS   IOID_24
 
#define BOARD_ACC_PWR   (1 << BOARD_IOID_ACC_PWR)
 
#define BOARD_ACC_INT   (1 << BOARD_IOID_ACC_INT)
 
#define BOARD_ACC_INT1   (1 << BOARD_IOID_ACC_INT1)
 
#define BOARD_ACC_INT2   (1 << BOARD_IOID_ACC_INT2)
 
#define BOARD_ACC_CS   (1 << BOARD_IOID_ACC_CS)
 
#define BOARD_IOID_ACC_SCK   BOARD_IOID_SPI_SCK
 
#define BOARD_ACC_SCK   BOARD_SPI_SCK
 
#define BOARD_IOID_ACC_MOSI   BOARD_IOID_SPI_MOSI
 
#define BOARD_ACC_MOSI   BOARD_SPI_MOSI
 
#define BOARD_IOID_ACC_MISO   BOARD_IOID_SPI_MISO
 
#define BOARD_ACC_MISO   BOARD_SPI_MISO
 
#define CCXXWARE_CONF_BL_PIN_NUMBER   BOARD_IOID_KEY_SELECT
 ROM bootloader configuration. More...
 
#define BOARD_BUTTON_HAL_INDEX_KEY_LEFT   0x00
 Board indices for the button HAL. More...
 
Device string used on startup
#define BOARD_STRING   "TI SmartRF06EB + CC26xx EM"
 

Detailed Description

Header file with definitions related to the I/O connections on the TI SmartRF06 Evaluation Board with a CC26xxEM.

Note
Do not include this file directly. It gets included by contiki-conf after all relevant directives have been set.

Definition in file board.h.