Contiki 3.x
board.h File Reference

Header file with definitions related to the I/O connections on the TI CC1310 LaunchPad. More...

#include "ioc.h"

Go to the source code of this file.

Macros

LED configurations

Those values are not meant to be modified by the user

#define LEDS_RED   1
 
#define LEDS_GREEN   2
 
#define LEDS_YELLOW   LEDS_GREEN
 
#define LEDS_ORANGE   LEDS_RED
 
#define LEDS_CONF_ALL   3
 
#define PLATFORM_HAS_LEDS   1
 
LED IOID mappings

Those values are not meant to be modified by the user

#define BOARD_IOID_LED_1   IOID_6
 
#define BOARD_IOID_LED_2   IOID_7
 
#define BOARD_LED_1   (1 << BOARD_IOID_LED_1)
 
#define BOARD_LED_2   (1 << BOARD_IOID_LED_2)
 
#define BOARD_LED_ALL   (BOARD_LED_1 | BOARD_LED_2)
 
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_RTS   IOID_18
 
#define BOARD_IOID_UART_CTS   IOID_19
 
#define BOARD_UART_RX   (1 << BOARD_IOID_UART_RX)
 
#define BOARD_UART_TX   (1 << BOARD_IOID_UART_TX)
 
#define BOARD_UART_RTS   (1 << BOARD_IOID_UART_RTS)
 
#define BOARD_UART_CTS   (1 << BOARD_IOID_UART_CTS)
 
Button IOID mapping

Those values are not meant to be modified by the user

#define BOARD_IOID_KEY_LEFT   IOID_13
 
#define BOARD_IOID_KEY_RIGHT   IOID_14
 
#define BOARD_KEY_LEFT   (1 << BOARD_IOID_KEY_LEFT)
 
#define BOARD_KEY_RIGHT   (1 << BOARD_IOID_KEY_RIGHT)
 
#define BOARD_IOID_SPI_MOSI   IOID_9
 SPI IOID mappings. More...
 
External flash IOID mapping

Those values are not meant to be modified by the user

#define BOARD_IOID_FLASH_CS   IOID_20
 
#define BOARD_FLASH_CS   (1 << BOARD_IOID_FLASH_CS)
 
#define BOARD_IOID_SPI_CLK_FLASH   IOID_10
 
#define BOARD_IOID_SCL   IOID_4
 I2C IOID mappings. More...
 
#define BOARD_IOID_CS   IOID_11
 Remaining pins. More...
 
Device string used on startup
#define BOARD_STRING   "TI CC1310 LaunchPad"
 

Detailed Description

Header file with definitions related to the I/O connections on the TI CC1310 LaunchPad.

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.