XC886/888CLM
Capture/Compare Unit 6
User’s Manual
14-41
V1.3, 2010-02
CCU6, V 1.0
0110 The value stored in CC6nSR is copied to CC6nR after a falling edge on the input
pin CC6n. The actual timer value of T12 is simultaneously stored in the shadow
register CC6nSR. This feature is useful for time measurements between
consecutive falling edges on pins CC6n. COUT6n is I/O.
0111 The value stored in CC6nSR is copied to CC6nR after any edge on the input pin
CC6n. The actual timer value of T12 is simultaneously stored in the shadow
register CC6nSR. This feature is useful for time measurements between
consecutive edges on pins CC6n. COUT6n is I/O.
Table 14-6
Combined T12 Modes
Description
1000 Hall Sensor mode:
Capture mode for channel 0, compare mode for channels 1 and 2. The contents
of T12 are captured into CC60 at a valid hall event (which is a reference to the
actual speed). CC61 can be used for a phase delay function between hall event
and output switching. CC62 can act as a time-out trigger if the expected hall
event comes too late. The value 1000
B
must be programmed to MSEL0, MSEL1
and MSEL2 if the hall signals are used. In this mode, the contents of timer T12
are captured in CC60 and T12 is reset after the detection of a valid hall event. In
order to avoid noise effects, the dead-time counter channel 0 is started after an
edge has been detected at the hall inputs. On reaching the value of 000001
B
, the
hall inputs are sampled and the pattern comparison is done.
1001 Hysteresis-like control mode with dead-time generation:
The negative edge of the CCPOSx input signal is used to reset bit CC6nST. As
a result, the output signals can be switched to passive state immediately and
switch back to active state (with dead-time) if the CCPOSx is high and the bit
CC6nST is set by a compare event.
Table 14-7
Multi-Input Capture Modes
Description
1010 The timer value of T12 is stored in CC6nR after a rising edge at the input pin
CC6n. The timer value of T12 is stored in CC6nSR after a falling edge at the input
pin CCPOSx.
1011 The timer value of T12 is stored in CC6nR after a falling edge at the input pin
CC6n. The timer value of T12 is stored in CC6nSR after a rising edge at the input
pin CCPOSx.
Table 14-5
Double-Register Capture Modes
(cont’d)
Description
*
Содержание XC886CLM
Страница 1: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 3: ...User s Manual V1 3 2010 02 Microcontrollers 8 Bit XC886 888CLM 8 Bit Single Chip Microcontroller...
Страница 324: ...XC886 888CLM Serial Interfaces User s Manual 12 52 V1 3 2010 02 Serial Interfaces V 1 0...
Страница 663: ...w w w i n f i n e o n c o m Published by Infineon Technologies AG...