User Manual
534
Rev. 1.1
2019-03-18
TLE984xQX
Microcontroller with LIN and Power Switches for Automotive Applications
Capture/Compare Unit 6 (CCU6)
Five further capture modes are called
Multi-Input Capture Modes
, as they use two different external inputs,
signal CC6xIN and signal CCPOSx.
Figure 139 Multi-Input Capture Modes Block Diagram
In each of these modes, the current T12 contents are captured in register CC6xR in response to a selected
event at signal CC6xIN, and in register CC6xSR in response to a selected event at signal CCPOSx. The possible
events can be opposite input transitions, or the same transitions, or any transition at the two inputs. The
different options are detailed in
.
In each of the various capture modes, the Channel State Bit, CC6xST, is set to 1 when the selected capture
trigger event at signal CC6xIN or CCPOSx has occurred. The State Bit is not cleared by hardware, but can be
cleared by software.
In addition, appropriate signal lines to the interrupt logic are activated, that can generate an interrupt request
to the CPU. Regardless of the selected active edge, all edges detected at signal CC6xIN can lead to the
activation of the appropriate interrupt request line (see also
).
Table 282 Multi-Input Capture Modes Overview
MSEL6x
Mode
Signal
Active Edge
T12 Stored in
1010
B
5
CC6xIN
Rising
CC6xR
CCPOSx
Falling
CC6xSR
1011
B
6
CC6xIN
Falling
CC6xR
CCPOSx
Rising
CC6xSR
1100
B
7
CC6xIN
Rising
CC6xR
CCPOSx
Rising
CC6xSR
CCU6_MCB05524
f
T12
Edge
Detect
Capture
Mode
Selection
State Bit
CC6xST
CC6xIN
To Interrupt Logic
Set
Shadow Register
CC6xSR
Register CC6xR
Counter Register
T12
Set
Capture
Mode
Selection
Edge
Detect
CCPOSx
MSEL6x
MSEL6x
f
CC6
CC6x_R
CC6x_F