MotorWare f2806x Driver API Documentation
Functions
cap.c File Reference

Contains the various functions related to the Enhanced Capture (CAP) object. More...

#include "sw/drivers/cap/src/32b/f28x/f2806x/cap.h"

Go to the source code of this file.

Functions

CAP_Handle CAP_init (void *pMemory, const size_t numBytes)
 Initializes the capture (CAP) object handle. More...
 
void CAP_disableCaptureLoad (CAP_Handle capHandle)
 Disables loading of CAP1-4 on capture event. More...
 
void CAP_disableSyncIn (CAP_Handle capHandle)
 Disables counter synchronization. More...
 
void CAP_disableInt (CAP_Handle capHandle, const CAP_Int_Type_e intType)
 Disables capture (CAP) interrupt source. More...
 
void CAP_disableTimestampCounter (CAP_Handle capHandle)
 Disables Time Stamp counter from running. More...
 
void CAP_enableCaptureLoad (CAP_Handle capHandle)
 Enables loading of CAP1-4 on capture event. More...
 
void CAP_enableInt (CAP_Handle capHandle, const CAP_Int_Type_e intType)
 Enables capture (CAP) interrupt source. More...
 
void CAP_enableSyncIn (CAP_Handle capHandle)
 Enables counter synchronization. More...
 
void CAP_enableTimestampCounter (CAP_Handle capHandle)
 Enables Time Stamp counter to running. More...
 
void CAP_setCapEvtPolarity (CAP_Handle capHandle, const CAP_Event_e event, const CAP_Polarity_e polarity)
 Sets the capture event polarity. More...
 
void CAP_setCapEvtReset (CAP_Handle capHandle, const CAP_Event_e event, const CAP_Reset_e reset)
 Sets the capture event counter reset configuration. More...
 
void CAP_setCapContinuous (CAP_Handle capHandle)
 Sets up for continuous Capture. More...
 
void CAP_setCapOneShot (CAP_Handle capHandle)
 Sets up for one-shot Capture. More...
 
void CAP_setModeCap (CAP_Handle capHandle)
 Sets capture peripheral up for capture mode. More...
 
void CAP_setModeApwm (CAP_Handle capHandle)
 Sets capture peripheral up for APWM mode. More...
 
void CAP_setStopWrap (CAP_Handle capHandle, const CAP_Stop_Wrap_e stopWrap)
 Set the stop/wrap mode. More...
 
void CAP_setSyncOut (CAP_Handle capHandle, const CAP_SyncOut_e syncOut)
 Set the sync out mode. More...
 

Detailed Description

Contains the various functions related to the Enhanced Capture (CAP) object.

(C) Copyright 2015, Texas Instruments, Inc.

Definition in file cap.c.