![Dallas DS87C550 Скачать руководство пользователя страница 40](http://html1.mh-extra.com/html/dallas/ds87c550/ds87c550_user-manual-supplement_3298646040.webp)
DS87C550 High-Speed Microcontroller User’s Guide Supplement
40 of 93
IE3/CF1
Bit 1
External Interrupt 3 or Capture Interrupt 1 Flag.
This bit serves as an
interrupt flag for External Interrupt 3 and alternatively for the capture function
(capture register 1) of Timer 2. If either capture trigger bit CT1 or
1
CT
(CTCON.2 or 3) is set, then the capture function register 1 is enabled, and this bit
will be set when a capture occurs. If neither of these bits are set, the this bit serves
as a flag for external interrupt 3. Regardless of meaning, this bit will cause an
interrupt to occur only if the enable bit EX3/EC1 (EIE.1) is set. Setting this bit
with software will cause an interrupt (if enabled), and software must always clear
this bit.
IE2/CF0
Bit 0
External Interrupt 2 or Capture Interrupt 0.
This bit serves as an interrupt
flag for External Interrupt 2 and alternatively for the capture function (capture
register 0) of Timer 2. If either capture trigger bit CT0 or CT0\ (CTCON.0 or 2)
is set, then the capture function register 0 is enabled, and this bit will be set when
a capture occurs. If neither of these bits are set, the this bit serves as a flag for
external interrupt 2. Regardless of meaning, this bit will cause an interrupt to
occur only if the enable bit EX2/EC0 (EIE.0) is set. Setting this bit with software
will cause an interrupt (if enabled), and software must always clear this bit.
Compare Register 0 MSB (CMPH0)
7
6
5
4
3
2
1
0
SFR C9h CMPH0.7 CMPH0.6 CMPH0.5 CMPH0.4 CMPH0.3 CMPH0.2 CMPH0.1 CMPH0.0
RW-0
RW-0
RW-0
RW-0
RW-0
RW-0
RW-0
RW-0
R=Unrestricted Read, W=Unrestricted Write, -n=Value after Reset
CMPH0.7-0
Bits 7-0
Compare Register 0 MSB.
This register is used to store the most significant 8-
bit value for one of the three available Timer 2 comparison functions. Register
CMPL0 (A9h) contains the least significant byte of this compare function. When
a 16-bit match occurs, a Timer 2 interrupt occurs if enabled, and port pins P4.5
through P4.0 are set if the corresponding enable bits are set in the SETR (EEh)
register.
Compare Register 1 MSB (CMPH1)
7
6
5
4
3
2
1
0
SFR CAh CMPH1.7 CMPH1.6 CMPH1.5 CMPH1.4 CMPH1.3 CMPH1.2 CMPH1.1 CMPH1.0
RW-0
RW-0
RW-0
RW-0
RW-0
RW-0
RW-0
RW-0
R=Unrestricted Read, W=Unrestricted Write, -n=Value after Reset
CMPH1.7-0
Bits 7-0
Compare Register 1 MSB.
This register is used to store the most significant 8-
bit value for one of the three available Timer 2 comparison functions. Register
CMPL1 (AAh) contains the least significant byte of this compare function. When
a 16-bit match occurs, a Timer 2 interrupt occurs if enabled, and port pins P4.5
through P4.0 are set if the corresponding enable bits are set in the SETR (EEh)
register.