Defines related to configuring LaunchPad peripherals.
More...
|
file | board-conf.h |
| Header file with definitions related to LaunchPad boards.
|
|
file | board-peripherals.h |
| Header file with definitions related to LaunchPad boards.
|
|
file | button-sensor-arch.c |
| Button HAL definitions for the LaunchPad buttons.
|
|
file | leds-arch.c |
| LED HAL definitions for the LaunchPad LEDs.
|
|
file | board-peripherals.h |
| Header file with definitions related to LaunchPad peripherals.
|
|
file | board.c |
| LaunchPad-specific board initialisation driver.
|
|
|
| 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...
|
|
void | board_init () |
| Board specific iniatialisation.
|
|
|
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) |
|
|
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 |
|
|
Those values are not meant to be modified by the user
|
#define | BOARD_CONF_HAS_SENSORS 0 |
|
Defines related to configuring LaunchPad peripherals.
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
All LaunchPads are identical to a very large extent. Everything documented within this group applies to all LaunchPads.
◆ 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_HYSTERESIS | Pull 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_HYSTERESIS | Pull configuration |