English
Language : 

C868_02 Datasheet, PDF (136/244 Pages) Infineon Technologies AG – 8 - Bit CMOS Microcontroller
C868
On-Chip Peripheral Components
MCMOUTH
Multi-Channel Mode Output Register ,High Byte
7
6
5
4
3
-
-
r
r
CURH
rw
[Reset value: 00H]
2
1
0
EXPH
rw
Field
EXPH1)
CURH
-
Bits Type Description
[2:0] rh
Expected Hall Pattern
Bitfield EXPH is written by a shadow transfer from
bitfield EXPHS. The contents is compared after
every detected edge at the hall input pins with the
pattern at the hall input pins in order to detect the
occurrence of the next desired (=expected) hall
pattern or a wrong pattern.
If the current hall pattern at the hall input pins is equal
to the bitfield EXPH, bit CHE (correct hall event) is
set and an interrupt request is generated (if enabled
by bit ENCHE).
If the current hall pattern at the hall input pins is not
equal to the bitfields CURH or EXPH, bit WHE
(wrong hall event) is set and an interrupt request is
generated (if enabled by bit ENWHE).
[5:3] rh
Current Hall Pattern
Bitfield CURH is written by a shadow transfer from
bitfield CURHS.The contents is compared after
every detected edge at the hall input pins with the
pattern at the hall input pins in order to detect the
occurrence of the next desired (=expected) hall
pattern or a wrong pattern.
If the current hall input pattern is equal to bitfield
CURH, the detected edge at the hall input pins has
been an invalid transition (e.g. a spike).
[7:6] r
reserved;
returns ’0’ if read; should be written with ’0’;
1) The bits in the bit fields EXPH and CURH correspond to the hall patterns at the input pins CCPOSx (x=0, 1, 2)
in the order (EXPH.2, EXPH.1, EXPH.0), (CURH.2, CURH.1, CURH.0), (CCPOS2, CCPOS.1, CCPOS0).
User’s Manual
4-92
V 0.4, 2002-01