![background image](http://html.mh-extra.com/html/texas-instruments/msp50c614/msp50c614_user-manual_1097109085.webp)
Comparator
3-15
Peripheral Functions
bit is automatically CLEARed again if an INT6 event occurs at the same time
that the associated mask bit is SET (IntGenCtrl, address 0x38, bit 6). The latter
indicates that the program vectoring associated with INT6 is enabled. (The flag
bit is SET when the INT event occurs. Only if the mask bit is set, does the
interrupt service occur: vectoring takes place and the flag bit is once again
cleared. Refer to Section 2.7,
Interrupt Logic, for more details)
The INT6 Flag may also be SET or CLEARed deliberately, at any time, in
software. Use the OUT instruction with the associated I/O port address (IFR,
address 0x39).
INT7 flag refers to bit 7 within the interrupt flag register. This bit is automatically
SET anytime that an INT7 event occurs. The bit is automatically CLEARed
again if an INT7 event occurs at the same time that the associated mask bit
is SET (IntGenCtrl, address 0x38, bit 7). The latter indicates that the service
for INT7 is enabled.
The INT7 Flag may also be SET or CLEARed at any time, in software. Use the
OUT instruction with the associated I/O port address (IFR, address 0x39).
The TIMER1 enable bit is set or cleared in software: bit 10 of the IntGenCtrl.
Similarly, the
falling-edge event in the comparator is a trigger for INT7. This
happens independently of any activity associated with TIMER1. TIMER1
starts counting anytime the following conditional is true:
IF:
[(INT6 Flag is CLEAR) AND (INT7 Flag is SET)] OR (TIMER1 Enable is SET)]
THEN: TIMER1 starts counting
Figure 3–2. Relationship Between Comparator/Interrupt Activity and the TIMER1 Control
INT Flag bits (IFR)
Associated With the Interrupt-Trigger Event
Interrupt Flag Register (0x39)
0 1
2
3
4
5
INT6
INT7
INT-Trigger
Event
INT Service
Branch
port-addressed
write instruction
Comparator ENABLE
Bit 15, IntGenCtrl (0x38)
TIMER1 ENABLE
Bit 10, IntGenCtrl (0x38)
TIMER1 Control
0 = TIM1 stopped
1 = TIM1 running
Summary of Contents for MSP50C614
Page 1: ...MSP50C614 Mixed Signal Processor User s Guide SPSU014 January 2000 Printed on Recycled Paper ...
Page 6: ...vi ...
Page 92: ...3 22 ...
Page 300: ...Instruction Set Summay 4 208 Assembly Language Instructions ...
Page 314: ...Software Emulator 5 14 Figure 5 13 Project Menu Figure 5 14 Project Open Dialog ...
Page 325: ...Software Emulator 5 25 Code Development Tools Figure 5 25 EPROM Programming Dialog ...
Page 331: ...Software Emulator 5 31 Code Development Tools Figure 5 31 Context Sensitive Help System ...
Page 368: ...5 68 ...
Page 394: ...7 12 ...
Page 402: ...A 8 ...
Page 412: ...Packaging B 10 ...