DL_ECAP_CaptureModeConfig
Module: Driverlib (AM13E232X) APIs / Driverlib ECAP API
ECAP capture mode configuration structure.
#include <dl_ecap.h>
Public Attributes
Name |
|
|---|---|
uint16_t |
|
bool |
|
bool |
|
bool |
|
bool |
|
bool |
|
bool |
Public Attributes Documentation
variable input
DL_ECAP_INPUT input;
Capture input source select
variable prescalerValue
uint16_t prescalerValue;
Event Filter prescale
variable continouousOrOneShot
DL_ECAP_CAPTURE_MODE continouousOrOneShot;
One shot or continuous mode control
variable wrapOrStopAtEvent
DL_ECAP_EVENT wrapOrStopAtEvent;
Stop value for oneshot mode, wrap value for continuous mode
variable enableCounterResetOnCaptureEvent1
bool enableCounterResetOnCaptureEvent1;
Counter reset on capture event 1
variable enableCounterResetOnCaptureEvent2
bool enableCounterResetOnCaptureEvent2;
Counter reset on capture event 2
variable enableCounterResetOnCaptureEvent3
bool enableCounterResetOnCaptureEvent3;
Counter reset on capture event 3
variable enableCounterResetOnCaptureEvent4
bool enableCounterResetOnCaptureEvent4;
Counter reset on capture event 4
variable captureEvent1Polarity
DL_ECAP_EVENT_POLARITY captureEvent1Polarity;
Polarity select on capture event 1
variable captureEvent2Polarity
DL_ECAP_EVENT_POLARITY captureEvent2Polarity;
Polarity select on capture event 2
variable captureEvent3Polarity
DL_ECAP_EVENT_POLARITY captureEvent3Polarity;
Polarity select on capture event 3
variable captureEvent4Polarity
DL_ECAP_EVENT_POLARITY captureEvent4Polarity;
Polarity select on capture event 4
variable resetCounter
bool resetCounter;
Reset event filter, counter, modulo counter and CEVT[1,2,3,4] and CNTOVF , HRERROR flags
variable reArm
bool reArm;
Reset Mod4 counter to zero, Unfreeze the Mod4 counter, Enable capture register loads