Contiki-NG
Files

Defines related to the CC2650 Sensortag. More...

Files

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

LED HAL configuration

Those values are not meant to be modified by the user

#define LEDS_CONF_COUNT   2
 
#define LEDS_CONF_RED   1
 
#define LEDS_CONF_GREEN   2
 

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
 

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)
 

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 EXT_FLASH_SPI_CONTROLLER   SPI_CONTROLLER_SPI0
 
#define EXT_FLASH_SPI_PIN_SCK   IOID_17
 
#define EXT_FLASH_SPI_PIN_MOSI   IOID_19
 
#define EXT_FLASH_SPI_PIN_MISO   IOID_18
 
#define EXT_FLASH_SPI_PIN_CS   IOID_14
 
#define EXT_FLASH_DEVICE_ID   0x14
 
#define EXT_FLASH_MID   0xC2
 
#define EXT_FLASH_PROGRAM_PAGE_SIZE   256
 
#define EXT_FLASH_ERASE_SECTOR_SIZE   4096
 
#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...
 
#define BOARD_BUTTON_HAL_INDEX_KEY_LEFT   0x00
 Board indices for the button HAL. More...
 
#define CCXXWARE_CONF_BL_PIN_NUMBER   IOID_UNUSED
 ROM bootloader configuration. More...
 

Device string used on startup

#define BOARD_STRING   "TI CC2650 SensorTag"
 

Detailed Description

Defines related to the CC2650 Sensortag.

This file provides connectivity information on LEDs, Buttons, UART and other peripherals

This file can be used as the basis to configure other boards using the CC13xx/CC26xx code as their basis.

This file is not meant to be modified by the user.

Macro Definition Documentation

◆ BOARD_BUTTON_HAL_INDEX_KEY_LEFT

#define BOARD_BUTTON_HAL_INDEX_KEY_LEFT   0x00

Board indices for the button HAL.

Those values are not meant to be modified by the user

Definition at line 227 of file board.h.

◆ BOARD_IOID_AUDIOFS_TDO

#define BOARD_IOID_AUDIOFS_TDO   IOID_16

Board devpack IOID mappings (LCD etc.)

Those values are not meant to be modified by the user

Definition at line 189 of file board.h.

◆ BOARD_IOID_MIC_POWER

#define BOARD_IOID_MIC_POWER   IOID_13

Digital Microphone.

Those values are not meant to be modified by the user

Definition at line 216 of file board.h.

◆ BOARD_IOID_MPU_INT

#define BOARD_IOID_MPU_INT   IOID_7

MPU IOID mappings.

Those values are not meant to be modified by the user

Definition at line 177 of file board.h.

◆ BOARD_IOID_SDA

#define BOARD_IOID_SDA   IOID_5

I2C IOID mappings.

Those values are not meant to be modified by the userInterface 0 SDA: All sensors bar MPU

Definition at line 165 of file board.h.

◆ BOARD_IOID_TMP_RDY

#define BOARD_IOID_TMP_RDY   IOID_1

TMP Sensor.

Those values are not meant to be modified by the user

Definition at line 207 of file board.h.

◆ CCXXWARE_CONF_BL_PIN_NUMBER

#define CCXXWARE_CONF_BL_PIN_NUMBER   IOID_UNUSED

ROM bootloader configuration.

Sensortags do not support the bootloader

Definition at line 238 of file board.h.