English
Language : 

COP8AME9_14 Datasheet, PDF (74/102 Pages) Texas Instruments – COP8AME9 8-Bit CMOS Flash Microcontroller with 8k Memory, Dual Op Amps, Virtual EEPROM, Temperature Sensor, 10-Bit A/D and Brownout Reset
COP8AME9, COP8ANE9
SNOS930F – MARCH 2001 – REVISED MARCH 2013
www.ti.com
Figure 35. VIS Flow Chart
Programming Example: External Interrupt
PSW
=00EF
CNTRL
=00EE
RBIT
0,PORTGC
RBIT
0,PORTGD
SBIT
IEDG, CNTRL
SBIT
GIE, PSW
SBIT
EXEN, PSW
WAIT:
JP
.
.
.
.=0FF
VIS
; The VIS causes a branch to
; interrupt vector table
.
.
.
.=01FA
.ADDRW SERVICE
; interrupt service routine
.
.
.
SERVICE:
RBIT,EXPND,PSW
.
.
.
RET I
; G0 pin configured Hi-Z
; Ext interrupt polarity; falling edge
; Set the GIE bit
; Enable the external interrupt
WAIT
; Wait for external interrupt
; The interrupt causes a
; branch to address 0FF
; Vector table (within 256 byte
; of VIS inst.) containing the ext
; Interrupt Service Routine
; Reset ext interrupt pend. bit
; Return, set the GIE bit
PORT L INTERRUPTS
Port L provides the user with an additional eight fully selectable, edge sensitive interrupts which are all vectored
into the same service subroutine.
74
Submit Documentation Feedback
Copyright © 2001–2013, Texas Instruments Incorporated
Product Folder Links: COP8AME9 COP8ANE9