Contiki-NG

Defines related to the CC1350 LaunchPad. More...

Files

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

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_6
 
#define BOARD_IOID_LED_2   IOID_7
 

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)
 

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_10
 
#define EXT_FLASH_SPI_PIN_MOSI   IOID_9
 
#define EXT_FLASH_SPI_PIN_MISO   IOID_8
 
#define EXT_FLASH_SPI_PIN_CS   IOID_20
 
#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_SCL   IOID_4
 I2C IOID mappings. More...
 
#define RF_SWITCH_CONF_ENABLE   1
 CC1350LP RF Switch. More...
 
#define PROP_MODE_CONF_TX_POWER_779_930   tx_power_driver_779_930
 TX power settings. More...
 
#define CCFG_CONF_BL_PIN_NUMBER   BOARD_IOID_KEY_LEFT
 ROM bootloader configuration. More...
 
#define BOARD_IOID_CS   IOID_11
 Remaining pins. 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 CC1350 LaunchPad"
 

Detailed Description

Defines related to the CC1350 LaunchPad.

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

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 204 of file board.h.

◆ BOARD_IOID_CS

#define BOARD_IOID_CS   IOID_11

Remaining pins.

Those values are not meant to be modified by the user

Definition at line 173 of file board.h.

◆ BOARD_IOID_SCL

#define BOARD_IOID_SCL   IOID_4

I2C IOID mappings.

Those values are not meant to be modified by the user

Definition at line 132 of file board.h.

◆ CCFG_CONF_BL_PIN_NUMBER

#define CCFG_CONF_BL_PIN_NUMBER   BOARD_IOID_KEY_LEFT

ROM bootloader configuration.

Change CCFG_CONF_BL_PIN_NUMBER to BOARD_IOID_KEY_xyz to select which button triggers the bootloader on reset. Use CCFG_CONF_BL_LEVEL to control the pin level that enables the bootloader (0: low, 1: high). It is also possible to use any other externally-controlled DIO.

Definition at line 163 of file board.h.

◆ PROP_MODE_CONF_TX_POWER_779_930

#define PROP_MODE_CONF_TX_POWER_779_930   tx_power_driver_779_930

TX power settings.

Those values are not meant to be modified by the user

Definition at line 151 of file board.h.

◆ RF_SWITCH_CONF_ENABLE

#define RF_SWITCH_CONF_ENABLE   1

CC1350LP RF Switch.

Those values are not meant to be modified by the user

Definition at line 142 of file board.h.