Contiki-NG
Loading...
Searching...
No Matches
cc13xx-cc26xx-conf.h File Reference

Header with configuration defines common to the CC13xx/CC26xx platform. More...

#include "cc13xx-cc26xx-def.h"
#include "rf/rf.h"

Go to the source code of this file.

Macros

Board Configuration.
Watchdog Configuration.
RF configuration.
#define RF_CONF_INACTIVITY_TIMEOUT   2000
 2 ms
 
IEEE address configuration. Used to generate our link-local and

global IPv6 addresses.

#define IEEE_ADDR_CONF_HARDCODED   0
 Location of the IEEE address.
 
#define IEEE_ADDR_CONF_ADDRESS   { 0x00, 0x12, 0x4B, 0x00, 0x89, 0xAB, 0xCD, 0xEF }
 The hardcoded IEEE address to be used when IEEE_ADDR_CONF_HARDCODED is defined as 1.
 
IEEE-mode configuration.
#define IEEE_MODE_CONF_AUTOACK   1
 Configuration to enable/disable auto ACKs in IEEE-mode.
 
#define IEEE_MODE_CONF_PROMISCOUS   0
 Configuration to enable/disable frame filtering in IEEE-mode.
 
#define IEEE_MODE_CONF_CCA_RSSI_THRESHOLD   0xA6
 Configuration to set the RSSI threshold in dBm in IEEE-mode.
 
Prop-mode configuration.
#define PROP_MODE_CONF_DW   0
 Configuration to set whitener in Prop-mode.
 
#define PROP_MODE_CONF_USE_CRC16   0
 Use 16-bit or 32-bit CRC in Prop-mode.
 
#define PROP_MODE_CONF_CCA_RSSI_THRESHOLD   0xA6
 Configuration to set the RSSI threshold in dBm in Prop-mode.
 
TI Drivers Configuration.
#define TI_UART_CONF_ENABLE   1
 Enable or disable UART driver.
 
#define TI_UART_CONF_UART0_ENABLE   TI_UART_CONF_ENABLE
 Enable or disable UART0 peripheral.
 
#define TI_UART_CONF_UART1_ENABLE   0
 Enable or disable UART1 peripheral.
 
#define TI_UART_CONF_BAUD_RATE   115200
 UART driver baud rate configuration.
 
#define TI_SPI_CONF_ENABLE   1
 Enable or disable SPI driver.
 
#define TI_SPI_CONF_SPI0_ENABLE   TI_SPI_CONF_ENABLE
 Enable or disable SPI0 peripheral.
 
#define TI_SPI_CONF_SPI1_ENABLE   0
 Enable or disable SPI1 peripheral.
 
#define TI_I2C_CONF_ENABLE   1
 Enable or disable I2C driver.
 
#define TI_I2C_CONF_I2C0_ENABLE   TI_I2C_CONF_ENABLE
 Enable or disable I2C0 peripheral.
 
#define TI_NVS_CONF_ENABLE   0
 Enable or disable Non-Volatile Storage (NVS) driver.
 
#define TI_NVS_CONF_NVS_INTERNAL_ENABLE   TI_NVS_CONF_ENABLE
 Enable or disable internal flash storage.
 
#define TI_NVS_CONF_NVS_EXTERNAL_ENABLE   TI_NVS_CONF_ENABLE
 Enable or disable external flash storage.
 
#define TI_SD_CONF_ENABLE   0
 Enable or disable SD driver.
 
SPI HAL configuration.

CC13x0/CC26x0 has one SPI interface, while CC13x2/CC26x2 has two SPI interfaces.

Some additional checks has to be made for the SPI_CONF_CONTROLLER_COUNT configuration, as this relies on whether the available SPI interfaces are enabled or not, as well as if the SPI driver is enabled at all.

Detailed Description

Header with configuration defines common to the CC13xx/CC26xx platform.

Author
Edvard Pettersen e.pet.nosp@m.ters.nosp@m.en@ti.nosp@m..com

Definition in file cc13xx-cc26xx-conf.h.