MSP430™CapTIvateSoftwareLibraryAPIGuide 1_70_00_03

Macros | Functions
CAPT_HAL.h File Reference
`#include <stdint.h>`
`#include <stdbool.h>`
`#include <msp430.h>`
`#include "CAPT_Type.h"`
Include dependency graph for CAPT_HAL.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Macros
#define | CAPT_TIMER_SRC_ACLK (0x00)
#define | CAPT_TIMER_SRC_VLOCLK (0x01)
#define | CAPT_TIMER_CLKDIV__1 (0x00)
#define | CAPT_TIMER_CLKDIV__2 (0x01)
#define | CAPT_TIMER_CLKDIV__4 (0x02)
#define | CAPT_TIMER_CLKDIV__8 (0x03)
#define | CAPT_TIMER_CLKDIV__16 (0x04)
#define | CAPT_TIMER_CLKDIV__32 (0x05)
#define | CAPT_TIMER_CLKDIV__64 (0x06)
#define | CAPT_TIMER_CLKDIV__128 (0x07)
#define | CAPT_COUNTER__16 (0x00)
#define | CAPT_COUNTER__32 (0x01)
#define | CAPT_COUNTER__64 (0x02)
#define | CAPT_COUNTER__128 (0x03)
#define | CAPT_COUNTER__256 (0x04)
#define | CAPT_COUNTER__512 (0x05)
#define | CAPT_COUNTER__1024 (0x06)
#define | CAPT_COUNTER__2048 (0x07)
#define | CAPT_COUNTER__DISABLED (0x08)
#define | CAPT_OSC_FREQ_DEFAULT (0x00)
#define | CAPT_OSC_FREQ_16MHZ (0x00)
#define | CAPT_OSC_FREQ_14P7MHZ (0x01)
#define | CAPT_OSC_FREQ_13P1MHZ (0x02)
#define | CAPT_OSC_FREQ_11P2MHZ (0x03)
#define | CAPT_REFERENCE_CAP__SELF_1P0PF (0x00)
#define | CAPT_REFERENCE_CAP__SELF_1P1PF (0x04)
#define | CAPT_REFERENCE_CAP__SELF_1P5PF (0x05)
#define | CAPT_REFERENCE_CAP__SELF_5P0PF (0x02)
#define | CAPT_REFERENCE_CAP__SELF_5P1PF (0x06)
#define | CAPT_REFERENCE_CAP__SELF_5P5PF (0x07)
#define | CAPT_REFERENCE_CAP__MUTUAL_0P1PFM_1P0PF (0x00)
#define | CAPT_REFERENCE_CAP__MUTUAL_0P5PFM_1P0PF (0x01)
#define | CAPT_REFERENCE_CAP__MUTUAL_0P1PFM_5P0PF (0x02)
#define | CAPT_REFERENCE_CAP__MUTUAL_0P5PFM_5P0PF (0x03)
#define | CAPT_COARSEGAIN_0 (0x00)
#define | CAPT_COARSEGAIN_1 (0x01)
#define | CAPT_COARSEGAIN_2 (0x02)
#define | CAPT_COARSEGAIN_3 (0x03)
#define | CAPT_COARSEGAIN_4 (0x04)
#define | CAPT_COARSEGAIN_5 (0x05)
#define | CAPT_COARSEGAIN_6 (0x06)
#define | CAPT_COARSEGAIN_7 (0x07)
#define | CAPT_COARSEGAIN_MIN (CAPT_COARSEGAIN_0)
#define | CAPT_COARSEGAIN_MAX (CAPT_COARSEGAIN_7)
#define | CAPT_FINEGAIN_0 (0x00)
#define | CAPT_FINEGAIN_1 (0x01)
#define | CAPT_FINEGAIN_2 (0x02)
#define | CAPT_FINEGAIN_3 (0x03)
#define | CAPT_FINEGAIN_4 (0x04)
#define | CAPT_FINEGAIN_5 (0x05)
#define | CAPT_FINEGAIN_6 (0x06)
#define | CAPT_FINEGAIN_7 (0x07)
#define | CAPT_FINEGAIN_8 (0x08)
#define | CAPT_FINEGAIN_9 (0x09)
#define | CAPT_FINEGAIN_10 (0x0A)
#define | CAPT_FINEGAIN_11 (0x0B)
#define | CAPT_FINEGAIN_12 (0x0C)
#define | CAPT_FINEGAIN_13 (0x0D)
#define | CAPT_FINEGAIN_14 (0x0E)
#define | CAPT_FINEGAIN_15 (0x0F)
#define | CAPT_FINEGAIN_16 (0x10)
#define | CAPT_FINEGAIN_17 (0x11)
#define | CAPT_FINEGAIN_18 (0x12)
#define | CAPT_FINEGAIN_19 (0x13)
#define | CAPT_FINEGAIN_MIN (CAPT_FINEGAIN_0)
#define | CAPT_FINEGAIN_MAX (CAPT_FINEGAIN_19)
#define | CAPT_OFFSETTAP_MIN (0x00)
#define | CAPT_OFFSETTAP_MAX (0xFF)
#define | CAPT_OFFSETSCALE__VERYSMALL (0x0000)
#define | CAPT_OFFSETSCALE__SMALL (0x0100)
#define | CAPT_OFFSETSCALE__LARGE (0x0200)
#define | CAPT_OFFSETSCALE__VERYLARGE (0x0300)
#define | CAPT_OFFSETSCALE_MIN (CAPT_OFFSETSCALE__VERYSMALL)
#define | CAPT_OFFSETSCALE_MAX (CAPT_OFFSETSCALE__VERYLARGE)
#define | CAPT_END_OF_CONVERSION_INTERRUPT (0x0001)
#define | CAPT_DETECTION_INTERRUPT (0x0002)
#define | CAPT_TIMER_INTERRUPT (0x0004)
#define | CAPT_CONVERSION_COUNTER_INTERRUPT (0x0008)
#define | CAPT_MAX_COUNT_ERROR_INTERRUPT (0x0100)
#define | CAPT_IV_NO_INTERRUPT (0x0000)
#define | CAPT_IV_END_OF_CONVERSION (0x0002)
#define | CAPT_IV_DETECTION (0x0004)
#define | CAPT_IV_TIMER (0x0006)
#define | CAPT_IV_CONVERSION_COUNTER (0x0008)
#define | CAPT_IV_MAX_COUNT_ERROR (0x000A)

## Functions
void | CAPT_init (void)
bool | CAPT_pollResetStatus (void)
bool | CAPT_pollCIPF (void)
void | CAPT_reset (void)
void | CAPT_setStabilization (void)
void | CAPT_releaseStabilization (void)
void | CAPT_enableRefCap (tElement *pElement, uint8_t capSize)
void | CAPT_disableRefCap (void)
void | CAPT_enableSensorIO (tSensor *pSensor)
void | CAPT_disableSensorIO (tSensor *pSensor)
void | CAPT_initSensorIO (tSensor *pSensor)
void | CAPT_forceSensorIO (tSenseTechnology rxBarTx, tSensor *pSensor)
void | CAPT_applySensorParams (tSensor *pSensor)
void | CAPT_enableSensorSyncEvent (void)
void | CAPT_disableSensorSyncEvent (void)
void | CAPT_bypassFSM (void)
void | CAPT_engageFSM (void)
void | CAPT_applySensorFreq (uint8_t freqSelect, tSensor *pSensor)
void | CAPT_setCycleIO (tSensor *pSensor, tCycle *pCycle)
void | CAPT_clearCycleIO (tSensor *pSensor, tCycle *pCycle)
void | CAPT_applyCycleComp (uint8_t freqOffset, tCycle *pCycle)
void | CAPT_applyCycleFSM (tCycle *pCycle)
void | CAPT_enableISR (uint16_t interruptEnable)
void | CAPT_disableISR (uint16_t interruptDisable)
void | CAPT_setCAPSTART (void)
void | CAPT_clearCAPSTART (void)
void | CAPT_saveCycleRawResults (uint8_t indexFreq, tSensor *pSensor, tCycle *pCycle)
void | CAPT_saveCycleResults (tSensor *pSensor, tCycle *pCycle)
void | CAPT_selectCCounterInterval (uint8_t counterSel)
void | CAPT_clearCCounter (void)
void | CAPT_startCCounter (void)
void | CAPT_stopCCounter (void)
void | CAPT_selectTimerSourceDivider (uint8_t sourceDiv)
void | CAPT_selectTimerSource (uint8_t source)
void | CAPT_enableTimerTrigMeasurement (void)
void | CAPT_disableTimerTrigMeasurement (void)
void | CAPT_clearTimer (void)
void | CAPT_startTimer (void)
void | CAPT_stopTimer (void)
uint16_t | CAPT_readTimerRegister (void)
uint16_t | CAPT_readTimerCompRegister (void)
void | CAPT_writeTimerCompRegister (uint16_t compRegister)
void | CAPT_powerOff (void)
void | CAPT_powerOn (void)
void | CAPT_setChannelActive (uint8_t ui8Block, uint8_t ui8Pin)
void | CAPT_setChannelEnable (uint8_t ui8Block, uint8_t ui8Pin)
void | CAPT_setChannelOffState (uint8_t ui8Block, uint8_t ui8Pin)
void | CAPT_setChannelOnState (uint8_t ui8Block, uint8_t ui8Pin)
void | CAPT_clearChannelActive (uint8_t ui8Block, uint8_t ui8Pin)
void | CAPT_clearChannelEnable (uint8_t ui8Block, uint8_t ui8Pin)
void | CAPT_clearChannelOffState (uint8_t ui8Block, uint8_t ui8Pin)
void | CAPT_clearChannelOnState (uint8_t ui8Block, uint8_t ui8Pin)
void | CAPT_writeCoarseGain (uint8_t ui8Block, uint8_t ui8Value)
uint8_t | CAPT_readCoarseGain (uint8_t ui8Block)
void | CAPT_writeFineGain (uint8_t ui8Block, uint8_t ui8Value)
uint8_t | CAPT_readFineGain (uint8_t ui8Block)
void | CAPT_writeOffsetTap (uint8_t ui8Block, uint16_t ui16Value)
uint16_t | CAPT_readOffsetTap (uint8_t ui8Block)
uint16_t | CAPT_readConversion (uint8_t ui8Block)
void | CAPT_setCAPLPMCFG (void)
void | CAPT_clearCAPLPMCFG (void)
uint16_t | CAPT_pollIFG (uint16_t ui16InterruptMask)
void | CAPT_clearIFG (uint16_t ui16InterruptMask)
uint16_t | CAPT_getInterruptVector (void)
void | CAPT_enableShieldIO (uint8_t ui8Block, uint8_t ui8Pin)
void | CAPT_disableShieldIO (uint8_t ui8Block, uint8_t ui8Pin)

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