Capture-3 Register (Cap3); Capture-4 Register (Cap4); Ecap Control Register 1 (Ecctl1); Capture-3 Register (Cap3) Field Descriptions - Texas Instruments Concerto F28M35 Series Technical Reference Manual

Table of Contents

Advertisement

Capture Module - Control and Status Registers
NOTE:
In APWM mode, writing to CAP1/CAP2 active registers also writes the same value to the
corresponding shadow registers CAP3/CAP4. This emulates immediate mode. Writing to the
shadow registers CAP3/CAP4 invokes the shadow mode.
31
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Bit(s)
Field
31:0
CAP3
31
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Bit(s)
Field
31:0
CAP4
15
14
FREE/SOFT
R/W-0
7
6
CTRRST4
CAP4POL
R/W-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Bit(s)
Field
15:14
FREE/SOFT
13:9
PRESCALE
802
C28 Enhanced Capture (eCAP) Module
Figure 8-15. Capture-3 Register (CAP3)
Table 8-5. Capture-3 Register (CAP3) Field Descriptions
Description
In CMP mode, this is a time-stamp capture register. In APWM mode, this is the period shadow
(APRD) register. You update the PWM period value through this register. In this mode, CAP3
(APRD) shadows CAP1.
Figure 8-16. Capture-4 Register (CAP4)
Table 8-6. Capture-4 Register (CAP4) Field Descriptions
Description
In CMP mode, this is a time-stamp capture register. In APWM mode, this is the compare shadow
(ACMP) register. You update the PWM compare value via this register. In this mode, CAP4
(ACMP) shadows CAP2.
Figure 8-17. ECAP Control Register 1 (ECCTL1)
13
12
5
4
CTRRST3
CAP3POL
R/W-0
R/W-0
Table 8-7. ECAP Control Register 1 (ECCTL1) Field Descriptions
Value
Description
Emulation Control
00
TSCTR counter stops immediately on emulation suspend
01
TSCTR counter runs until = 0
1x
TSCTR counter is unaffected by emulation suspend (Run Free)
Event Filter prescale select
00000
Divide by 1 (i.e,. no prescale, by-pass the prescaler)
00001
Divide by 2
00010
Divide by 4
00011
Divide by 6
Copyright © 2012–2019, Texas Instruments Incorporated
CAP3
R/W-0
CAP4
R/W-0
11
10
PRESCALE
R/W-0
3
2
CTRRST2
CAP2POL
R/W-0
R/W-0
SPRUH22I – April 2012 – Revised November 2019
www.ti.com
0
0
9
8
CAPLDEN
R/W-0
1
0
CTRRST1
CAP1POL
R/W-0
R/W-0
Submit Documentation Feedback

Advertisement

Table of Contents
loading

Table of Contents