Epson S1C6200A Specifikace Strana 227

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 249
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 226
S1C62740 TECHNICAL SOFTWARE EPSON II-75
CHAPTER 6: PERIPHERAL CIRCUITS (Interrupt)
;
SERK1:
;:
; DO THE INPUT K1 INTERRUPT
; SERVICE ROUTINE HERE
;:
RET
;
SERSIO:
;:
; DO THE SIO INTERRUPT
; SERVICE ROUTINE HERE
;:
RET
;
SERPT:
;:
; DO THE PROGRAMMABLE TIMER INTERRUPT
; SERVICE ROUTINE HERE
;:
RET
;
(1) The interrupt factor flag is set when the interrupt conditions are
established, regardless of the setting of the interrupt mask
register.
(2) Read the interrupt factor flag in the DI status (interrupt flag =
"0"). Reading of interrupt factor flag is available at EI, but be
careful in the following cases.
If the interrupt mask register value corresponding to the inter-
rupt factor flags to be read is set to "1", an interrupt request will
be generated by the interrupt factor flags set timing, or an
interrupt request will not be generated. Be very careful when
interrupt factor flags are in the same address.
(3) Be sure that writing to the interrupt mask register is done with
the interrupt in the DI status (interrupt flag = "0"). Writing to
the interrupt mask register while in the EI status (interrupt flag
= "1") may cause malfunction.
(4) When multiple interrupts simultaneously occur, the high
priority vector address is set to the program counter.
Programming notes
Zobrazit stránku 226
1 2 ... 222 223 224 225 226 227 228 229 230 231 232 ... 248 249

Komentáře k této Příručce

Žádné komentáře