MSP430™CapTIvateSoftwareLibraryAPIGuide
1_70_00_03
imports
captivate
ADVANCED
CAPT_Buttons.h
Go to the documentation of this file.
1
//*****************************************************************************
2
// CAPT_Buttons.h
3
//
5
//
8
//
9
//*****************************************************************************
10
//*****************************************************************************
13
//*****************************************************************************
14
15
#ifndef CAPT_Buttons_H_
16
#define CAPT_Buttons_H_
17
18
#include "
CAPT_Touch.h
"
19
20
//*****************************************************************************
21
//
23
//
29
//
32
//
36
//
37
//*****************************************************************************
38
extern
void
CAPT_processButtons
(
tSensor
*pButtonGroup);
39
40
//*****************************************************************************
41
//
43
//
45
//
49
//
50
//*****************************************************************************
51
extern
uint8_t
CAPT_getDominantButton
(
tSensor
*pButtonGroup);
52
53
//*****************************************************************************
54
//
56
//
59
//
64
//
65
//*****************************************************************************
66
extern
tElement
*
CAPT_getDominantButtonAddr
(
tSensor
*pButtonGroup);
67
68
#endif
/* CAPT_Buttons_H_ */
69
//*****************************************************************************
72
//*****************************************************************************
CAPT_getDominantButtonAddr
tElement * CAPT_getDominantButtonAddr(tSensor *pButtonGroup)
Get the address of the dominant element.
tSensor
Definition:
CAPT_Type.h:654
tElement
typedef tElement
Definition:
CAPT_Type.h:453
CAPT_Touch.h
CAPT_processButtons
void CAPT_processButtons(tSensor *pButtonGroup)
This API performs processing for a button group.
CAPT_getDominantButton
uint8_t CAPT_getDominantButton(tSensor *pButtonGroup)
Get the ID of the dominant element.
© Copyright 1995-2018
, Texas Instruments Incorporated. All rights reserved.
Trademarks
|
Privacy policy
|
Terms of use
|
Terms of sale