Fujitsu MB90460 Series Hardware Manual page 172

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

;---------Interrupt program ----------------------------------------------------------------------------------------------
ED_INT1:
CODE
;--------Vector setting-----------------------------------------------------------------------------------------------------
VECT
VECT
■ Processing Specifications of Sample Program for Extended Intelligent I/O Service
2
(EI
OS)
1. This program detects the H level signal input to the INT0 pin and activates the extended intelligent I/O
service (EI
2. When the H level is input to the INT0 pin, EI
memory at the 3000
3. The number of transfer data bytes is 100 bytes. After 100 bytes are transferred, an interrupt is generated
because EI
Sample coding
DDR1
ENIR
EIRR
ELVR
ICR04
BAPL
BAPM
NOP
BRA
LOP
MOV
I:EIRR, #00H
NOP
NOP
NOP
NOP
NOP
NOP
RETI
ENDS
CSEG
ABS=0FFH
ORG
0FFACH
DSLED_INT1
ORG
0FFDCH
DSL
START
DB
00H
ENDS
END
START
2
OS).
address.
H
2
OS transfer has terminated.
EQU
000011H
EQU
000030H
EQU
000031H
EQU
000032H
EQU
0000B4H
EQU
000100H
EQU
000101H
;Unconditional jump
;Acceptance of new INT0 not allowed
;Return from interrupt
;Sets vector for interrupt #20 (14H)
;Sets reset vector
;Sets single-chip mode
2
OS is activated. Data is transferred from port 0 to the
;Port 1-direction register
;Interrupt/DTP enable register
;Interrupt/DTP factor register
;Request level setting register
;Interrupt control register
;Lower buffer address pointer
;Middle buffer address pointer
CHAPTER 7 INTERRUPT
153

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents