Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 15.3 Enhanced Capture (eCAP) Module
- 15.3.1 Introduction
- 15.3.1.1 Purpose of the Peripheral
- Uses for eCAP include:
- • Sample rate measurements of audio inputs
- • Speed measurements of rotating machinery (for example, toothed sprockets sensed via Hall sensors)
- • Elapsed time measurements between position sensor pulses
- • Period and duty cycle measurements of pulse train signals
- • Decoding current or voltage amplitude derived from duty cycle encoded current/voltage sensors
- 15.3.1.2 Features
- The eCAP module includes the following features:
- • 32-bit time base counter
- • 4-event time-stamp registers (each 32 bits)
- • Edge polarity selection for up to four sequenced time-stamp capture events
- • Interrupt on either of the four events
- • Single shot capture of up to four event time-stamps
- • Continuous mode capture of time-stamps in a four-deep circular buffer
- • Absolute time-stamp capture
- • Difference (Delta) mode time-stamp capture
- • All above resources dedicated to a single input pin
- • When not used in capture mode, the ECAP module can be configured as a single channel PWM output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement