Contiki 3.x
Modules | Files | Functions | Variables

Defines related to the CC2650 Sensortag. More...

Modules

 SensorTag 2.0 Pressure Sensor
 Due to the time required for the sensor to startup, this driver is meant to be used in an asynchronous fashion.
 
 SensorTag 2.0 I2C functions
 
 SensorTag 2.0 Button Sensor
 One of the buttons can be configured as general purpose or as an on/off key.
 
 SensorTag 2.0 Buzzer
 
 SensorTag 2.0 TI HDC1000 Sensor
 Due to the time required for the sensor to startup, this driver is meant to be used in an asynchronous fashion.
 
 SensorTag 2.0 Motion Processing Unit
 Driver for the Invensense MPU9250 Motion Processing Unit.
 
 SensorTag 2.0 Light Sensor
 Due to the time required for the sensor to startup, this driver is meant to be used in an asynchronous fashion.
 
 SensorTag 2.0 Reed Relay
 The reed relay acts like a button without a button.
 
 SensorTag 2.0 Sensors
 
 SensorTag 2.0 IR thermophile sensor
 Due to the time required for the sensor to startup, this driver is meant to be used in an asynchronous fashion.
 

Files

file  board.c
 Sensortag-specific board initialisation driver.
 
file  sensortag-sensors.c
 Generic module controlling sensors on CC26XX Sensortag.
 
file  board.h
 Header file with definitions related to the I/O connections on the TI Sensortag.
 
file  leds-arch.c
 Driver for the Sensortag-CC26XX LEDs.
 

Functions

void board_init ()
 Board specific iniatialisation.
 
void leds_arch_init (void)
 Leds implementation. More...
 

Variables

SENSORS & button_left_sensor
 Exports a global symbol to be used by the sensor API.
 

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

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

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

#define BOARD_IOID_MIC_POWER   IOID_13

Digital Microphone.

Those values are not meant to be modified by the user

Definition at line 228 of file board.h.

#define BOARD_IOID_MPU_INT   IOID_7

MPU IOID mappings.

Those values are not meant to be modified by the user

Definition at line 189 of file board.h.

Referenced by configure().

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

Referenced by board_i2c_select(), and board_i2c_shutdown().

#define BOARD_IOID_SPI_MOSI   IOID_19

SPI IOID mappings.

Those values are not meant to be modified by the user

Definition at line 140 of file board.h.

#define BOARD_IOID_TMP_RDY   IOID_1

TMP Sensor.

Those values are not meant to be modified by the user

Definition at line 219 of file board.h.

Referenced by configure().

Function Documentation

void leds_arch_init ( void  )

Leds implementation.

Leds implementation.

The FRDM-KL25Z has a tri-colour LED: Red is connected to PTB18 Green is connected to PTB19 Blue is connected to PTD1

Definition at line 48 of file leds-arch.c.