Fujitsu F2MC-16LX Hardware Manual page 125

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

MOV
DCTL,#64H
MOV
DCTH,#00H
MOV
I:ICR00,#00001000B
MOV
I:ELVR,#00000001B
MOV
I:EIRR,#00H
MOV
I:ENIR,#01H
MOV
ILM,#07H
OR
CCR,#40H
:
LOOP:
BRA
LOOP
;----------Interrupt Program------------------------------------------------------------
WARI
CLRB
ER0
:
user processing
:
RETI
CODE
ENDS
----------Vector Settings-------------------------------------------------------------------
VECT
CSEG
ABS=0FFH
ORG
0FFB4H
DSL
WARI
ORG
0FFDCH
DSL
START
DB
00H
VECT
ENDS
END
START
CHAPTER 3 INTERRUPT
; Sets transfer byte count (100 bytes)
2
2
; EI
OS channel 0, EI
OS enable, interrupt level 0
(highest)
; Make INT0 "H" level request
; Clears interrupt cause for INT0.
; Enables INT0 interrupt.
; Sets ILM in PS to level 7
; Sets I flag of CCR in PS to enable interrupts.
; Infinite loop
; Interrupt/DTP request flag clear
; confirmation of the cause of the EI
; Processes data in buffer, resetting EI
; The vector is set in interruption #18(12
; Reset vector setting
; Single-chip mode setting
2
OS completion
2
OS etc.
).
H
109

Advertisement

Table of Contents
loading

Table of Contents