Contiki-NG
Modules | Files | Functions

Defines related to LaunchPad peripherals. More...

Modules

 CC1310 LaunchPad Peripherals
 Defines related to the CC1310 LaunchPad.
 
 CC1350 LaunchPad Peripherals
 Defines related to the CC1350 LaunchPad.
 
 CC2640R2 LaunchPad Peripherals
 Defines related to the CC2640R2 LaunchPad.
 
 CC2650 LaunchPad Peripherals
 Defines related to the CC2650 LaunchPad.
 

Files

file  board-buttons.c
 Defines CC13xx/CC26xx Launchpad buttons for use with the button HAL.
 
file  board-peripherals.h
 Header file with definitions related to LaunchPad peripherals.
 
file  board.c
 LaunchPad-specific board initialisation driver.
 
file  board-conf.h
 Header file with definitions related to LaunchPad boards.
 
 
file  button-sensor-arch.c
 Button HAL definitions for the LaunchPad buttons.
 
 
file  rf-conf.h
 Header file with board-specific RF configurations.
 
file  rf-conf.h
 Header file with board-specific RF configurations.
 
file  rf-conf.h
 Header file with board-specific RF configurations.
 
file  rf-conf.h
 Header file with board-specific RF configurations.
 
file  rf-conf.h
 Header file with board-specific RF configurations.
 
file  rf-conf.h
 Header file with board-specific RF configurations.
 
file  rf-conf.h
 Header file with board-specific RF configurations.
 
file  rf-conf.h
 Header file with board-specific RF configurations.
 
file  rf-conf.h
 Header file with board-specific RF configurations.
 
file  rf-conf.h
 Header file with board-specific RF configurations.
 
file  rf-conf.h
 Header file with board-specific RF configurations.
 
file  rf-conf.h
 Header file with board-specific RF configurations.
 
file  rf-conf.h
 Header file with board-specific RF configurations.
 
file  rf-conf.h
 Header file with board-specific RF configurations.
 

Functions

void board_init ()
 Board specific iniatialisation.
 
 BUTTON_HAL_BUTTON (key_left, "Key Left", Board_PIN_BTN1, GPIO_HAL_PIN_CFG_PULL_UP|GPIO_HAL_PIN_CFG_HYSTERESIS, BUTTON_HAL_ID_KEY_LEFT, true)
 Negative logic. More...
 
 BUTTON_HAL_BUTTON (key_right, "Key Right", Board_PIN_BTN2, GPIO_HAL_PIN_CFG_PULL_UP|GPIO_HAL_PIN_CFG_HYSTERESIS, BUTTON_HAL_ID_KEY_RIGHT, true)
 Negative logic. More...
 

LED configurations for the dev/leds.h API.

Those values are not meant to be modified by the user

#define PLATFORM_HAS_LEDS   1
 
#define LEDS_CONF_COUNT   2
 
#define LEDS_CONF_RED   0
 
#define LEDS_CONF_GREEN   1
 
#define LEDS_CONF_ALL   ((1 << LEDS_CONF_COUNT) - 1)
 

Button configurations for the dev/button-hal.h API.

Those values are not meant to be modified by the user

#define PLATFORM_HAS_BUTTON   1
 
#define PLATFORM_SUPPORTS_BUTTON_HAL   1
 
#define BUTTON_HAL_ID_KEY_LEFT   0
 
#define BUTTON_HAL_ID_KEY_RIGHT   1
 

LaunchPad does not have any sensors.

Those values are not meant to be modified by the user

#define BOARD_CONF_HAS_SENSORS   0
 

Board-specific front-end mode configurations for the Sub-1 GHz path

   on the radio.

These are the following front-end mode configurations for the CC1310-LAUNCHXL board:

  • Sub-1 GHz: differential and external bias
#define RF_SUB_1_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_SUB_1_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 

Board-specific front-end mode configurations for the Sub-1 GHz path

   on the radio.

These are the following front-end mode configurations for the CC1312R1-LAUNCHXL board:

  • Sub-1 GHz: differential and external bias
#define RF_SUB_1_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_SUB_1_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 

Board-specific front-end mode configurations for both the Sub-1 GHz

   path and the 2.4 GHz path on the radio.

These are the following front-end mode configurations for the CC1350-LAUNCHXL board:

  • Sub-1 GHz: differential and external bias
  • 2.4 GHz: differential and external bias
#define RF_SUB_1_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_SUB_1_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 
#define RF_2_4_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_2_4_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 

Board-specific front-end mode configurations for both the Sub-1 GHz

   path and the 2.4 GHz path on the radio.

These are the following front-end mode configurations for the CC1350-4-LAUNCHXL board:

  • Sub-1 GHz: differential and external bias
  • 2.4 GHz: differential and external bias
#define RF_SUB_1_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_SUB_1_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 
#define RF_2_4_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_2_4_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 

Board-specific front-end mode configurations for both the Sub-1 GHz

   path and the 2.4 GHz path on the radio.

These are the following front-end mode configurations for the CC1352P-2-LAUNCHXL board:

  • Sub-1 GHz: differential and external bias
  • 2.4 GHz: differential and external bias
#define RF_SUB_1_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_SUB_1_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 
#define RF_2_4_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_2_4_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 

Board-specific front-end mode configurations for both the Sub-1 GHz

   path and the 2.4 GHz path on the radio.

These are the following front-end mode configurations for the CC1352P-4-LAUNCHXL board:

  • Sub-1 GHz: differential and external bias
  • 2.4 GHz: differential and external bias
#define RF_SUB_1_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_SUB_1_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 
#define RF_2_4_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_2_4_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 

Board-specific front-end mode configurations for both the Sub-1 GHz

   path and the 2.4 GHz path on the radio.

These are the following front-end mode configurations for the CC1352P1-LAUNCHXL board:

  • Sub-1 GHz: differential and external bias
  • 2.4 GHz: differential and external bias
#define RF_SUB_1_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_SUB_1_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 
#define RF_2_4_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_2_4_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 

Board-specific front-end mode configurations for both the Sub-1 GHz

   path and the 2.4 GHz path on the radio.

These are the following front-end mode configurations for the CC1352R1-LAUNCHXL board:

  • Sub-1 GHz: differential and external bias
  • 2.4 GHz: differential and external bias
#define RF_SUB_1_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_SUB_1_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 
#define RF_2_4_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_2_4_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 

Board-specific front-end mode configurations for the 2.4 GHz path

   on the radio.

These are the following front-end mode configurations for the CC2650-LAUNCHXL board:

  • 2.4 GHz: differential and internal bias
#define RF_2_4_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_2_4_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_INTERNAL
 

Board-specific front-end mode configurations for the 2.4 GHz path

   on the radio.

These are the following front-end mode configurations for the CC26X2R1-LAUNCHXL board:

  • 2.4 GHz: differential and internal bias
#define RF_2_4_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_2_4_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_INTERNAL
 

Board-specific front-end mode configurations for both the Sub-1 GHz

   path and the 2.4 GHz path on the radio.

These are the following front-end mode configurations for the CC1350STK board:

  • Sub-1 GHz: single-ended RFN and external bias
  • 2.4 GHz: single-ended RFP and external bias
#define RF_SUB_1_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_SINGLE_ENDED_RFN
 
#define RF_SUB_1_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 
#define RF_2_4_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_SINGLE_ENDED_RFP
 
#define RF_2_4_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 

Board-specific front-end mode configurations for the 2.4 GHz path

   on the radio.

These are the following front-end mode configurations for the CC2650STK board:

  • 2.4 GHz: differential and internal bias
#define RF_2_4_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_2_4_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_INTERNAL
 

Board-specific front-end mode configurations for both the Sub-1 GHz

   path and the 2.4 GHz path on the radio.

These are the following front-end mode configurations for the CC1350DK-7XD board:

  • Sub-1 GHz: differential and external bias
  • 2.4 GHz: differential and external bias
#define RF_SUB_1_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_SUB_1_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 
#define RF_2_4_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_2_4_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_EXTERNAL
 

Board-specific front-end mode configurations for the 2.4 GHz path

   on the radio.

These are the following front-end mode configurations for the CC2650DK-7ID board:

  • 2.4 GHz: differential and internal bias
#define RF_2_4_GHZ_CONF_FRONT_END_MODE   RF_FRONT_END_MODE_DIFFERENTIAL
 
#define RF_2_4_GHZ_CONF_BIAS_MODE   RF_BIAS_MODE_INTERNAL
 

Detailed Description

Defines related to LaunchPad peripherals.

   Defines related to configuring LaunchPad peripherals.

Defines related to configuring LaunchPad peripherals.

All LaunchPads are identical to a very large extent. Everything documented within this group applies to both sensortags

All LaunchPads are identical to a very large extent. Everything documented within this group applies to all LaunchPads.

Function Documentation

◆ BUTTON_HAL_BUTTON() [1/2]

BUTTON_HAL_BUTTON ( key_left  ,
"Key Left"  ,
Board_PIN_BTN1  ,
GPIO_HAL_PIN_CFG_PULL_UP|  GPIO_HAL_PIN_CFG_HYSTERESIS,
BUTTON_HAL_ID_KEY_LEFT  ,
true   
)

Negative logic.

Parameters
GPIO_HAL_PIN_CFG_HYSTERESISPull configuration

◆ BUTTON_HAL_BUTTON() [2/2]

BUTTON_HAL_BUTTON ( key_right  ,
"Key Right"  ,
Board_PIN_BTN2  ,
GPIO_HAL_PIN_CFG_PULL_UP|  GPIO_HAL_PIN_CFG_HYSTERESIS,
BUTTON_HAL_ID_KEY_RIGHT  ,
true   
)

Negative logic.

Parameters
GPIO_HAL_PIN_CFG_HYSTERESISPull configuration