XC886/888CLM
Capture/Compare Unit 6
User’s Manual
14-55
V1.3, 2010-02
CCU6, V 1.0
14.3.4
Capture/Compare Control Registers
The Compare State Register CMPSTAT contains status bits monitoring the current
capture and compare state, and control bits defining the active/passive state of the
compare channels.
CMPSTATL
Compare State Register Low
Reset Value: 00
H
7
6
5
4
3
2
1
0
0
CC
63ST
CC
POS
2
CC
POS
1
CC
POS
0
CC
62ST
CC
61ST
CC
60ST
r
rh
rh
rh
rh
rh
rh
rh
Field
Bits
Type Description
CC6xST
(x = 0, 1, 2, 3)
0, 1,
2, 6
rh
Capture/Compare State Bits
Bits CC6xST monitor the state of the capture/compare
channels. Bits CC6xST are related to T12; bit CC63ST
is related to T13.
0
In compare mode, the timer count is less than
the compare value. In capture mode, the
selected edge has not yet been detected since
the bit has been reset by software the last time.
1
In compare mode, the counter value is greater
than or equal to the compare value. In capture
mode, the selected edge has been detected.
These bits are set and reset according to the T12 and
T13 switching rules.
CCPOSx
(x = 0, 1, 2)
3, 4,
5
rh
Sampled Hall Pattern Bits
Bits CCPOSx indicate the value of the input Hall
pattern that has been compared to the current and
expected value. The value is sampled when the event
hcrdy (Hall compare ready) occurs.
0
The input CCPOSx has been sampled as 0.
1
The input CCPOSx has been sampled as 1.
0
7
r
Reserved
Returns 0 if read; should be written with 0.
*
Содержание 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...