MSP430™CapTIvateSoftwareLibraryAPIGuide 1_70_00_03

rom_captivate_msp430fr2633_family.h
Go to the documentation of this file.
1 //*****************************************************************************
2 //
3 // rom_captivate_msp430fr2633_family.h
4 // Macros to facilitate calling functions in the ROM.
5 //
6 // Copyright (c) 2017 Texas Instruments Incorporated. All rights reserved.
7 // TI Information - Selective Disclosure
8 //
9 //*****************************************************************************
10 //
11
12 #ifndef ROM_CAPTIVATE_MSP430FR2633_H_
13 #define ROM_CAPTIVATE_MSP430FR2633_H_
14
15 #if (defined(__TI_COMPILER_VERSION__) && !defined(__LARGE_CODE_MODEL__)) || \
16 (defined(__IAR_SYSTEMS_ICC__) && (__CODE_MODEL__==__CODE_MODEL_SMALL__))
17
18 //*****************************************************************************
19 //
20 // CapTIvate ROM API Definitions
21 // - ROM_CAPTIVATE_APITABLE defines the beginning of the ROM section.
22 // - ROM_CAPTIVATETABLE is the ROM defined indirect address of the jump table.
23 // - ROM_CAPTIVATE_FXNTABLE is the direct address of the jump table.
24 // - ROM_CAPTIVATE_JUMPTABLE is the table address to use, and should be
25 // selected as ROM_CAPTIVATETABLE or ROM_CAPTIVATE_FXNTABLE.
26 //
27 //*****************************************************************************
28 #define ROM_CAPTIVATE_APITABLE ((uint16_t *)0x4000)
29 #define ROM_CAPTIVATE_VERSIONL (ROM_CAPTIVATE_APITABLE[0])
30 #define ROM_CAPTIVATE_VERSIONH (ROM_CAPTIVATE_APITABLE[1])
31 #define ROM_CAPTIVATETABLE ((uint16_t *)(ROM_CAPTIVATE_APITABLE[2]))
32 #define ROM_CAPTIVATE_FXNTABLE ((uint16_t *)0x4006)
33 #define ROM_CAPTIVATE_JUMPTABLE (ROM_CAPTIVATE_FXNTABLE)
34
35 //*****************************************************************************
36 //
37 // Macro to obtain ROM build version.
38 //
39 //*****************************************************************************
40 #define ROM_CAPTIVATE_getVersion \
41 ((uint32_t)ROM_CAPTIVATE_VERSIONH<<16|ROM_CAPTIVATE_VERSIONL)
42
43 //*****************************************************************************
44 //
45 // Macros for calling CAPTIVATE ROM functions in the CAPTIVATE API.
46 //
47 //*****************************************************************************
48 // ROM Function Definition: CAPT_selectTimerSource
49 #define ROM_CAPT_selectTimerSource \
50 ((void (*)(uint8_t source))ROM_CAPTIVATE_JUMPTABLE[0])
51
52 // ROM Function Definition: CAPT_computeArcTanApprox
53 #define ROM_CAPT_computeArcTanApprox \
54 ((uint16_t (*)(int32_t i32XComp, \
55 int32_t i32YComp))ROM_CAPTIVATE_JUMPTABLE[1])
56
57 // ROM Function Definition: CAPT_clearChannelOffState
58 #define ROM_CAPT_clearChannelOffState \
59 ((void (*)(uint8_t ui8Block, \
60 uint8_t ui8Pin))ROM_CAPTIVATE_JUMPTABLE[2])
61
62 // ROM Function Definition: CAPT_clearTimer
63 #define ROM_CAPT_clearTimer \
64 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[3])
65
66 // ROM Function Definition: CAPT_getChecksum
67 #define ROM_CAPT_getChecksum \
68 ((uint16_t (*)(const uint8_t *pBuffer, \
69 const uint16_t ui16Length))ROM_CAPTIVATE_JUMPTABLE[4])
70
71 // ROM Function Definition: CAPT_verifyChecksum
72 #define ROM_CAPT_verifyChecksum \
73 ((bool (*)(const uint8_t *pBuffer, \
74 const uint16_t ui16Length, \
75 const uint16_t ui16Checksum))ROM_CAPTIVATE_JUMPTABLE[5])
76
77 // ROM Function Definition: CAPT_updateTouch
78 #define ROM_CAPT_updateTouch \
79 ((bool (*)(tSensor *pSensor, \
80 tElement *pElement))ROM_CAPTIVATE_JUMPTABLE[6])
81
82 // ROM Function Definition: CAPT_getCyclePacket
83 #define ROM_CAPT_getCyclePacket \
84 ((uint16_t (*)(tSensor **sensorArray, \
85 uint8_t ui8SensorID, \
86 uint8_t ui8Cycle, \
87 uint8_t *pBuffer))ROM_CAPTIVATE_JUMPTABLE[7])
88
89 // ROM Function Definition: CAPT_clearCAPLPMCFG
90 #define ROM_CAPT_clearCAPLPMCFG \
91 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[8])
92
93 // ROM Function Definition: CAPT_clearChannelOnState
94 #define ROM_CAPT_clearChannelOnState \
95 ((void (*)(uint8_t ui8Block, \
96 uint8_t ui8Pin))ROM_CAPTIVATE_JUMPTABLE[9])
97
98 // ROM Function Definition: CAPT_pollResetStatus
99 #define ROM_CAPT_pollResetStatus \
100 ((bool (*)(void))ROM_CAPTIVATE_JUMPTABLE[10])
101
102 // ROM Function Definition: CAPT_pollCIPF
103 #define ROM_CAPT_pollCIPF \
104 ((bool (*)(void))ROM_CAPTIVATE_JUMPTABLE[11])
105
106 // ROM Function Definition: CAPT_computeWheelWrap
107 #define ROM_CAPT_computeWheelWrap \
108 ((uint16_t (*)(int16_t i16Position, \
109 uint16_t ui16MaxPosition))ROM_CAPTIVATE_JUMPTABLE[12])
110
111 // ROM Function Definition: CAPT_powerOn
112 #define ROM_CAPT_powerOn \
113 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[13])
114
115 // ROM Function Definition: CAPT_startTimer
116 #define ROM_CAPT_startTimer \
117 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[14])
118
119 // ROM Function Definition: CAPT_accessSensorParameter
120 #define ROM_CAPT_accessSensorParameter \
121 ((tTLParameterAccessResult (*)( tSensor **sensorArray, \
122 tParameterPacket *pPacket))ROM_CAPTIVATE_JUMPTABLE[16])
123
124 // ROM Function Definition: CAPT_clearCAPSTART
125 #define ROM_CAPT_clearCAPSTART \
126 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[17])
127
128 // ROM Function Definition: CAPT_processSlider
129 #define ROM_CAPT_processSlider \
130 ((void (*)(tSensor *pSlider))ROM_CAPTIVATE_JUMPTABLE[18])
131
132 // ROM Function Definition: CAPT_stopTimer
133 #define ROM_CAPT_stopTimer \
134 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[19])
135
136 // ROM Function Definition: CAPT_setChannelOnState
137 #define ROM_CAPT_setChannelOnState \
138 ((void (*)(uint8_t ui8Block, \
139 uint8_t ui8Pin))ROM_CAPTIVATE_JUMPTABLE[20])
140
141 // ROM Function Definition: CAPT_initByteQueue
142 #define ROM_CAPT_initByteQueue \
143 ((bool (*)(tByteQueue *pQueue, \
144 uint8_t *pBufferArray, \
145 uint16_t ui16BufferArraySize))ROM_CAPTIVATE_JUMPTABLE[21])
146
147 // ROM Function Definition: CAPT_reseedFilterAll
148 #define ROM_CAPT_reseedFilterAll \
149 ((void (*)(tSensor *pSensor, \
150 tFilterOption WhatToFilter))ROM_CAPTIVATE_JUMPTABLE[22])
151
152 // ROM Function Definition: CAPT_writeOffsetTap
153 #define ROM_CAPT_writeOffsetTap \
154 ((void (*)(uint8_t ui8Block, \
155 uint16_t ui16Value))ROM_CAPTIVATE_JUMPTABLE[23])
156
157 // ROM Function Definition: CAPT_setChannelOffState
158 #define ROM_CAPT_setChannelOffState \
159 ((void (*)(uint8_t ui8Block, \
160 uint8_t ui8Pin))ROM_CAPTIVATE_JUMPTABLE[24])
161
162 // ROM Function Definition: CAPT_readOffsetTap
163 #define ROM_CAPT_readOffsetTap \
164 ((uint16_t (*)(uint8_t ui8Block))ROM_CAPTIVATE_JUMPTABLE[28])
165
166 // ROM Function Definition: CAPT_enableISR
167 #define ROM_CAPT_enableISR \
168 ((void (*)(uint16_t interruptEnable))ROM_CAPTIVATE_JUMPTABLE[29])
169
170 // ROM Function Definition: CAPT_disableSensorSyncEvent
171 #define ROM_CAPT_disableSensorSyncEvent \
172 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[30])
173
174 // ROM Function Definition: CAPT_readConversion
175 #define ROM_CAPT_readConversion \
176 ((uint16_t (*)(uint8_t ui8Block))ROM_CAPTIVATE_JUMPTABLE[31])
177
178 // ROM Function Definition: CAPT_clearCCounter
179 #define ROM_CAPT_clearCCounter \
180 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[32])
181
182 // ROM Function Definition: CAPT_updateProx
183 #define ROM_CAPT_updateProx \
184 ((bool (*)(tSensor *pSensor, \
185 tElement *pElement))ROM_CAPTIVATE_JUMPTABLE[33])
186
187 // ROM Function Definition: CAPT_isByteQueueEmpty
188 #define ROM_CAPT_isByteQueueEmpty \
189 ((bool (*)(tByteQueue *pQueue))ROM_CAPTIVATE_JUMPTABLE[34])
190
191 // ROM Function Definition: CAPT_readTimerCompRegister
192 #define ROM_CAPT_readTimerCompRegister \
193 ((uint16_t (*)(void))ROM_CAPTIVATE_JUMPTABLE[35])
194
195 // ROM Function Definition: CAPT_applySensorFreq
196 #define ROM_CAPT_applySensorFreq \
197 ((void (*)(uint8_t freqSelect, \
198 tSensor *pSensor))ROM_CAPTIVATE_JUMPTABLE[36])
199
200 // ROM Function Definition: CAPT_saveCycleResults
201 #define ROM_CAPT_saveCycleResults \
202 ((void (*)(tSensor *pSensor , \
203 tCycle *pCycle))ROM_CAPTIVATE_JUMPTABLE[37])
204
205 // ROM Function Definition: CAPT_togglePingPongBuffer
206 #define ROM_CAPT_togglePingPongBuffer \
207 ((bool (*)(tPingPongBuffer *PPBuffer))ROM_CAPTIVATE_JUMPTABLE[38])
208
209 // ROM Function Definition: CAPT_powerOff
210 #define ROM_CAPT_powerOff \
211 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[39])
212
213 // ROM Function Definition: CAPT_clearChannelEnable
214 #define ROM_CAPT_clearChannelEnable \
215 ((void (*)(uint8_t ui8Block, \
216 uint8_t ui8Pin))ROM_CAPTIVATE_JUMPTABLE[40])
217
218 // ROM Function Definition: CAPT_reset
219 #define ROM_CAPT_reset \
220 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[41])
221
222 // ROM Function Definition: CAPT_setChannelEnable
223 #define ROM_CAPT_setChannelEnable \
224 ((void (*)(uint8_t ui8Block, \
225 uint8_t ui8Pin))ROM_CAPTIVATE_JUMPTABLE[42])
226
227 // ROM Function Definition: ROM_CAPT_updateFilterCount
228 #define ROM_CAPT_updateFilterCount \
229 ((void (*)(tSensor *pSensor, \
230 tElement *pElement))ROM_CAPTIVATE_JUMPTABLE[43])
231
232 // ROM Function Definition: CAPT_writeCoarseGain
233 #define ROM_CAPT_writeCoarseGain \
234 ((void (*)(uint8_t ui8Block, \
235 uint8_t ui8Value))ROM_CAPTIVATE_JUMPTABLE[44])
236
237 // ROM Function Definition: CAPT_computeSliderVectors
238 #define ROM_CAPT_computeSliderVectors \
239 ((uint16_t (*)(tSensor *pSlider))ROM_CAPTIVATE_JUMPTABLE[46])
240
241 // ROM Function Definition: CAPT_readFineGain
242 #define ROM_CAPT_readFineGain \
243 ((uint8_t (*)(uint8_t ui8Block))ROM_CAPTIVATE_JUMPTABLE[47])
244
245 // ROM Function Definition: CAPT_applySensorParams
246 #define ROM_CAPT_applySensorParams \
247 ((void (*)(tSensor *pSensor))ROM_CAPTIVATE_JUMPTABLE[48])
248
249 // ROM Function Definition: CAPT_stuffSyncBytes
250 #define ROM_CAPT_stuffSyncBytes \
251 ((uint16_t (*)(uint8_t *pBuffer, \
252 uint16_t ui16Length))ROM_CAPTIVATE_JUMPTABLE[49])
253
254 // ROM Function Definition: CAPT_engageFSM
255 #define ROM_CAPT_engageFSM \
256 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[50])
257
258 // ROM Function Definition: CAPT_enableRefCap
259 #define ROM_CAPT_enableRefCap \
260 ((void (*)(tElement* pElement, \
261 uint8_t capSize))ROM_CAPTIVATE_JUMPTABLE[51])
262
263 // ROM Function Definition: CAPT_stopCCounter
264 #define ROM_CAPT_stopCCounter \
265 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[52])
266
267 // ROM Function Definition: CAPT_processReceivedData
268 #define ROM_CAPT_processReceivedData \
269 ((bool (*)(tByteQueue *pReceiveQueue, \
270 tParameterPacket *pPacket, \
271 tTLProtocolProcessingVariables *pVariables))ROM_CAPTIVATE_JUMPTABLE[53])
272
273 // ROM Function Definition: CAPT_enableSensorIO
274 #define ROM_CAPT_enableSensorIO \
275 ((void (*)(tSensor *pSensor))ROM_CAPTIVATE_JUMPTABLE[54])
276
277 // ROM Function Definition: CAPT_computeIIRFilterFast
278 #define ROM_CAPT_computeIIRFilterFast \
279 ((IQ16_t (*)(IQ16_t *pRaw, \
280 IQ16_t *pFiltered, \
281 uint8_t ui8Beta))ROM_CAPTIVATE_JUMPTABLE[55])
282
283 // ROM Function Definition: CAPT_clearCycleIO
284 #define ROM_CAPT_clearCycleIO \
285 ((void (*)(tSensor *pSensor, \
286 tCycle *pCycle))ROM_CAPTIVATE_JUMPTABLE[56])
287
288 // ROM Function Definition: CAPT_disableSensorIO
289 #define ROM_CAPT_disableSensorIO \
290 ((void (*)(tSensor *pSensor))ROM_CAPTIVATE_JUMPTABLE[57])
291
292 // ROM Function Definition: CAPT_clearSensorProxTouch
293 #define ROM_CAPT_clearSensorProxTouch \
294 ((void (*)(tSensor *pSensor))ROM_CAPTIVATE_JUMPTABLE[58])
295
296 // ROM Function Definition: CAPT_selectCCounterInterval
297 #define ROM_CAPT_selectCCounterInterval \
298 ((void (*)(uint8_t counterSel))ROM_CAPTIVATE_JUMPTABLE[59])
299
300 // ROM Function Definition: CAPT_setCycleIO
301 #define ROM_CAPT_setCycleIO \
302 ((void (*)(tSensor *pSensor, \
303 tCycle *pCycle))ROM_CAPTIVATE_JUMPTABLE[60])
304
305 // ROM Function Definition: CAPT_initPingPongBuffer
306 #define ROM_CAPT_initPingPongBuffer \
307 ((bool (*)(tPingPongBuffer *PPBuffer, \
308 uint8_t *pBuffer1, \
309 uint8_t *pBuffer2))ROM_CAPTIVATE_JUMPTABLE[61])
310
311 // ROM Function Definition: CAPT_pushOntoByteQueue
312 #define ROM_CAPT_pushOntoByteQueue \
313 ((int8_t (*)(tByteQueue *pQueue, \
314 uint8_t ui8DataToAdd))ROM_CAPTIVATE_JUMPTABLE[62])
315
316 // ROM Function Definition: CAPT_writeTimerCompRegister
317 #define ROM_CAPT_writeTimerCompRegister \
318 ((void (*)(uint16_t compRegister))ROM_CAPTIVATE_JUMPTABLE[63])
319
320 // ROM Function Definition: CAPT_readTimerRegister
321 #define ROM_CAPT_readTimerRegister \
322 ((uint16_t (*)(void))ROM_CAPTIVATE_JUMPTABLE[64])
323
324 // ROM Function Definition: CAPT_initSensorIO
325 #define ROM_CAPT_initSensorIO \
326 ((void (*)(tSensor *pSensor))ROM_CAPTIVATE_JUMPTABLE[65])
327
328 // ROM Function Definition: CAPT_writeFineGain
329 #define ROM_CAPT_writeFineGain \
330 ((void (*)(uint8_t ui8Block, \
331 uint8_t ui8Value))ROM_CAPTIVATE_JUMPTABLE[67])
332
333 // ROM Function Definition: CAPT_startCCounter
334 #define ROM_CAPT_startCCounter \
335 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[70])
336
337 // ROM Function Definition: CAPT_applyCycleFSM
338 #define ROM_CAPT_applyCycleFSM \
339 ((void (*)(tCycle *pCycle))ROM_CAPTIVATE_JUMPTABLE[71])
340
341 // ROM Function Definition: ROM_CAPT_updateFilterCounts
342 #define ROM_CAPT_updateFilterCounts \
343 ((void (*)(tCycle *pCycle, \
344 uint8_t ui8Beta))ROM_CAPTIVATE_JUMPTABLE[72])
345
346 // ROM Function Definition: CAPT_setCAPSTART
347 #define ROM_CAPT_setCAPSTART \
348 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[73])
349
350 // ROM Function Definition: CAPT_reseedFilter
351 #define ROM_CAPT_reseedFilter \
352 ((void (*)(IQ16_t *pFilter, \
353 uint16_t ui16ReseedValue))ROM_CAPTIVATE_JUMPTABLE[74])
354
355 // ROM Function Definition: CAPT_saveCycleRawResults
356 #define ROM_CAPT_saveCycleRawResults \
357 ((void (*)(uint8_t indexFreq, \
358 tSensor *pSensor, \
359 tCycle *pCycle))ROM_CAPTIVATE_JUMPTABLE[75])
360
361 // ROM Function Definition: CAPT_updateFSMTouch
362 #define ROM_CAPT_updateFSMTouch \
363 ((void (*)(tSensor *pSensor, \
364 tElement *pElement))ROM_CAPTIVATE_JUMPTABLE[76])
365
366 // ROM Function Definition: CAPT_setCAPLPMCFG
367 #define ROM_CAPT_setCAPLPMCFG \
368 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[77])
369
370 // ROM Function Definition: CAPT_getByteQueueSize
371 #define ROM_CAPT_getByteQueueSize \
372 ((uint16_t (*)(tByteQueue *pQueue))ROM_CAPTIVATE_JUMPTABLE[78])
373
374 // ROM Function Definition: CAPT_setChannelActive
375 #define ROM_CAPT_setChannelActive \
376 ((void (*)(uint8_t ui8Block, \
377 uint8_t ui8Pin))ROM_CAPTIVATE_JUMPTABLE[79])
378
379 // ROM Function Definition: CAPT_pullFromByteQueue
380 #define ROM_CAPT_pullFromByteQueue \
381 ((int8_t (*)(tByteQueue *pQueue, \
382 uint8_t *pDestination))ROM_CAPTIVATE_JUMPTABLE[80])
383
384 // ROM Function Definition: CAPT_updateFSMProx
385 #define ROM_CAPT_updateFSMProx \
386 ((void (*)(tSensor *pSensor, \
387 tElement *pElement))ROM_CAPTIVATE_JUMPTABLE[81])
388
389 // ROM Function Definition: CAPT_disableTimerTrigMeasurement
390 #define ROM_CAPT_disableTimerTrigMeasurement \
391 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[83])
392
393 // ROM Function Definition: CAPT_selectTimerSourceDivider
394 #define ROM_CAPT_selectTimerSourceDivider \
395 ((void (*)(uint8_t sourceDiv))ROM_CAPTIVATE_JUMPTABLE[84])
396
397 // ROM Function Definition: CAPT_processButtons
398 #define ROM_CAPT_processButtons \
399 ((void (*)(tSensor *pButtonGroup))ROM_CAPTIVATE_JUMPTABLE[85])
400
401 // ROM Function Definition: CAPT_disableRefCap
402 #define ROM_CAPT_disableRefCap \
403 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[86])
404
405 // ROM Function Definition: CAPT_releaseStabilization
406 #define ROM_CAPT_releaseStabilization \
407 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[87])
408
409 // ROM Function Definition: CAPT_enableTimerTrigMeasurement
410 #define ROM_CAPT_enableTimerTrigMeasurement \
411 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[88])
412
413 // ROM Function Definition: CAPT_enableSensorSyncEvent
414 #define ROM_CAPT_enableSensorSyncEvent \
415 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[89])
416
417 // ROM Function Definition: CAPT_bypassFSM
418 #define ROM_CAPT_bypassFSM \
419 ((void (*)(void))ROM_CAPTIVATE_JUMPTABLE[90])
420
421 // ROM Function Definition: CAPT_updateLTA
422 #define ROM_CAPT_updateLTA \
423 ((void (*)(tSensor *pSensor, \
424 tElement *pElement))ROM_CAPTIVATE_JUMPTABLE[91])
425
426 // ROM Function Definition: CAPT_readCoarseGain
427 #define ROM_CAPT_readCoarseGain \
428 ((uint8_t (*)(uint8_t ui8Block))ROM_CAPTIVATE_JUMPTABLE[92])
429
430 // ROM Function Definition: CAPT_registerCallback
431 #define ROM_CAPT_registerCallback \
432 ((void (*)(tSensor *pSensor, \
433 void (* user_callback)(tSensor *pSensor)))ROM_CAPTIVATE_JUMPTABLE[93])
434
435 // ROM Function Definition: CAPT_applyCycleComp
436 #define ROM_CAPT_applyCycleComp \
437 ((void (*)(uint8_t freqOffset, \
438 tCycle * pCycle))ROM_CAPTIVATE_JUMPTABLE[94])
439
440 // ROM Function Definition: CAPT_updateSensorProxTouch
441 #define ROM_CAPT_updateSensorProxTouch \
442 ((void (*)(tSensor *pSensor))ROM_CAPTIVATE_JUMPTABLE[95])
443
444 // ROM Function Definition: CAPT_clearChannelActive
445 #define ROM_CAPT_clearChannelActive \
446 ((void (*)(uint8_t ui8Block, \
447 uint8_t ui8Pin))ROM_CAPTIVATE_JUMPTABLE[96])
448
449 // ROM Function Definition: CAPT_getSensorPacket
450 #define ROM_CAPT_getSensorPacket \
451 ((uint16_t (*)(tSensor **sensorArray, \
452 uint8_t ui8SensorID, \
453 uint8_t *pBuffer))ROM_CAPTIVATE_JUMPTABLE[97])
454
455 // ROM Function Definition: CAPT_disableISR
456 #define ROM_CAPT_disableISR \
457 ((void (*)(uint16_t interruptDisable))ROM_CAPTIVATE_JUMPTABLE[98])
458
459 // ROM Function Definition: CAPT_isByteQueueFull
460 #define ROM_CAPT_isByteQueueFull \
461 ((bool (*)(tByteQueue *pQueue))ROM_CAPTIVATE_JUMPTABLE[99])
462
463 // ROM Function Definition: CAPT_forceSensorIO
464 #define ROM_CAPT_forceSensorIO \
465 ((void (*)(tSenseTechnology rxBarTx, \
466 tSensor *pSensor))ROM_CAPTIVATE_JUMPTABLE[100])
467
468 // ROM Function Definition: CAPT_computeIIRFilter
469 #define ROM_CAPT_computeIIRFilter \
470 ((IQ16_t (*)(IQ16_t *pRaw, \
471 IQ16_t *pFiltered, \
472 uint8_t ui8Beta))ROM_CAPTIVATE_JUMPTABLE[101])
473
474
475 #else
476 #error "Large code/data models are not supported"
477 #endif
478
479 #endif // ROM_CAPTIVATE_MSP430FR2633_H_

© Copyright 1995-2018, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale