Contiki-NG
Loading...
Searching...
No Matches

Topics

 CC1310 LaunchPad Peripherals
 
 
 CC1350 LaunchPad Peripherals
 
 
 CC2640R2 LaunchPad Peripherals
 
 
 CC2650 LaunchPad Peripherals
 
 

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.
 

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.
 
 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.
 

Detailed Description

Defines related to 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

   Defines related to configuring LaunchPad peripherals. 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