MSP430™CapTIvateSoftwareLibraryAPIGuide  1_70_00_03
CAPT_Interface.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // CAPT_Interface.h
3 //
5 //
8 //
11 //
12 //*****************************************************************************
13 //*****************************************************************************
16 //*****************************************************************************
17 
18 #ifndef CAPT_INTERFACE_H_
19 #define CAPT_INTERFACE_H_
20 
21 //*****************************************************************************
22 // Include string library for memcpy
23 //
24 #ifndef S_SPLINT_S
25 #include <string.h>
26 #endif
27 //*****************************************************************************
28 
29 #include "CAPT_CommConfig.h"
30 #include "CAPT_UserConfig.h"
31 
32 //*****************************************************************************
33 //
40 //
41 //*****************************************************************************
43 
44 //*****************************************************************************
45 //
49 //
52 //
53 //*****************************************************************************
54 extern bool CAPT_writeElementData(uint8_t ui8SensorID);
55 
56 //*****************************************************************************
57 //
61 //
64 //
65 //*****************************************************************************
66 extern bool CAPT_writeSensorData(uint8_t ui8SensorID);
67 
68 //*****************************************************************************
69 //
74 //
77 //
78 //*****************************************************************************
79 extern bool CAPT_writeGeneralPurposeData(uint16_t *pData, uint8_t ui8Cnt);
80 
81 //*****************************************************************************
82 //
87 //
90 //
91 //*****************************************************************************
92 extern bool CAPT_writeString(const char *pSrcString);
93 
94 //*****************************************************************************
95 //
99 //
102 //
103 //*****************************************************************************
104 extern bool CAPT_writeTrackPadSensorData(uint8_t ui8SensorID);
105 
106 
107 //*****************************************************************************
108 //
112 //
115 //
116 //*****************************************************************************
117 extern bool CAPT_writeTrackPadSensorStatus(uint8_t ui8SensorID);
118 
119 //*****************************************************************************
120 //
127 //
130 //
131 //*****************************************************************************
132 extern bool CAPT_checkForInboundPacket(void);
133 
134 //*****************************************************************************
135 //
140 //
143 //
144 //*****************************************************************************
145 extern bool CAPT_checkForRecalibrationRequest(void);
146 
147 #endif /* CAPT_INTERFACE_H_ */
148 //*****************************************************************************
151 //*****************************************************************************
void CAPT_initCommInterface(tCaptivateApplication *pApp)
bool CAPT_writeTrackPadSensorStatus(uint8_t ui8SensorID)
bool CAPT_checkForRecalibrationRequest(void)
bool CAPT_writeGeneralPurposeData(uint16_t *pData, uint8_t ui8Cnt)
typedef tCaptivateApplication
Definition: CAPT_Type.h:1413
bool CAPT_writeTrackPadSensorData(uint8_t ui8SensorID)
bool CAPT_writeString(const char *pSrcString)
bool CAPT_writeSensorData(uint8_t ui8SensorID)
bool CAPT_checkForInboundPacket(void)
bool CAPT_writeElementData(uint8_t ui8SensorID)
© Copyright 1995-2018, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale