Contiki 3.x
board.h File Reference

Header file with definitions related to the I/O connections on the TI Sensortag. 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_10
 
#define BOARD_IOID_LED_2   IOID_15
 
#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_DP4_UARTRX   IOID_28
 
#define BOARD_IOID_DP5_UARTTX   IOID_29
 
#define BOARD_IOID_UART_RX   IOID_17
 
#define BOARD_IOID_UART_TX   IOID_16
 
#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_0
 
#define BOARD_IOID_KEY_RIGHT   IOID_4
 
#define BOARD_KEY_LEFT   (1 << BOARD_IOID_KEY_LEFT)
 
#define BOARD_KEY_RIGHT   (1 << BOARD_IOID_KEY_RIGHT)
 
#define BOARD_IOID_SPI_MOSI   IOID_19
 SPI IOID mappings. More...
 
Buzzer configuration
#define BOARD_IOID_BUZZER   IOID_21
 Buzzer Pin.
 
Reed Relay IOID mapping

Those values are not meant to be modified by the user

#define BOARD_IOID_REED_RELAY   IOID_3
 
External flash IOID mapping

Those values are not meant to be modified by the user

#define BOARD_IOID_FLASH_CS   IOID_14
 
#define BOARD_FLASH_CS   (1 << BOARD_IOID_FLASH_CS)
 
#define BOARD_IOID_SPI_CLK_FLASH   IOID_17
 
#define BOARD_IOID_SDA   IOID_5
 I2C IOID mappings. More...
 
#define BOARD_IOID_SCL   IOID_6
 Interface 0 SCL: All sensors bar MPU.
 
#define BOARD_IOID_SDA_HP   IOID_8
 Interface 1 SDA: MPU.
 
#define BOARD_IOID_SCL_HP   IOID_9
 Interface 1 SCL: MPU.
 
#define BOARD_IOID_MPU_INT   IOID_7
 MPU IOID mappings. More...
 
#define BOARD_IOID_AUDIOFS_TDO   IOID_16
 Board devpack IOID mappings (LCD etc.) More...
 
#define BOARD_IOID_TMP_RDY   IOID_1
 TMP Sensor. More...
 
#define BOARD_IOID_MIC_POWER   IOID_13
 Digital Microphone. More...
 
Device string used on startup
#define BOARD_STRING   "TI CC2650 SensorTag"
 

Detailed Description

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

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.