EasyManua.ls Logo

Texas Instruments TMS320F2837 D Series

Texas Instruments TMS320F2837 D Series
324 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
eCAP
TMS320F2837xD Microcontroller Workshop - Control Peripherals 7 - 43
eCAP Module Block Diagram APWM Mode
32-Bit
Time-Stamp
Counter
Period
Register
(CAP3)
Period
Register
(CAP1)
Compare
Register
(CAP4)
Compare
Register
(CAP2)
PWM
Compare
Logic
ECAP
pin
Shadowed
Shadowed
immediate
mode
shadow
mode
shadow
mode
immediate
mode
CPUx.SYSCLK
If the module is not used in capture mode, the eCAP module can be configured to operate as a
single channel asymmetrical PWM module (i.e. time-base counter operates in count-up mode).
eCAP Module Registers
(lab file: ECap.c)
Name Description Structure
ECCTL1 Capture Control 1 ECapxRegs.ECCTL1.all =
ECCTL2 Capture Control 2 ECapxRegs.ECCTL2.all =
TSCTR Time-Stamp Counter ECapxRegs.TSCTR =
CTRPHS Counter Phase Offset ECapxRegs.CTRPHS =
CAP1 Capture 1 ECapxRegs.CAP1 =
CAP2 Capture 2 ECapxRegs.CAP2 =
CAP3 Capture 3 ECapxRegs.CAP3 =
CAP4 Capture 4 ECapxRegs.CAP4 =
ECEINT Enable Interrupt ECapxRegs.ECEINT.all =
ECFLG Interrupt Flag ECapxRegs.ECFLG.all =
ECCLR Interrupt Clear ECapxRegs.ECCLR.all =
ECFRC Interrupt Force ECapxRegs.ECFRC.all =

Table of Contents

Other manuals for Texas Instruments TMS320F2837 D Series

Related product manuals