TI-OpenThread  1.08.07.01
Macros | Typedefs | Functions
CC26X2R1_LAUNCHXL/thread/doorlock_oad_secure/keys_utils.h File Reference
#include "ti_drivers_config.h"
+ Include dependency graph for CC26X2R1_LAUNCHXL/thread/doorlock_oad_secure/keys_utils.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define KEY_DEBOUNCE_TIMEOUT   200
 
#define KEYS_LEFT   0x01
 
#define KEYS_RIGHT   0x02
 

Typedefs

typedef void(* KeyUtils_PressedCB_t) (uint8_t keysPressed)
 

Functions

void KeysUtils_initialize (KeyUtils_PressedCB_t keyCb)
 Enable interrupts for keys on GPIOs. More...
 

Macro Definition Documentation

§ KEYS_LEFT

#define KEYS_LEFT   0x01

§ KEYS_RIGHT

#define KEYS_RIGHT   0x02

§ KEY_DEBOUNCE_TIMEOUT

#define KEY_DEBOUNCE_TIMEOUT   200

Typedef Documentation

§ KeyUtils_PressedCB_t

typedef void(* KeyUtils_PressedCB_t) (uint8_t keysPressed)

Function Documentation

§ KeysUtils_initialize()

void KeysUtils_initialize ( KeyUtils_PressedCB_t  keyCb)

Enable interrupts for keys on GPIOs.

Parameters
keyCb- application key pressed callback
© Copyright 1995-2022, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale