Fujitsu MB90460 Series Hardware Manual page 451

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 15 MULTI-PULSE GENERATOR
LOOP:
;-------Interrupt program--------------------------------------------------------------------------------------------
WARI:
;
;
;
CODE
;-------Vector setting------------------------------------------------------------------------------------------------
VECT
VECT
432
MOVW
I:OPDBR0,#0009H
MOV
ILM,#07H
OR
CCR,#40H
MOV
A,#00H
MOV
A,#01H
BRA
LOOP
CLRB
I:WTIF
:
User processing
:
RETI
ENDS
CSEG
ABS=0FFH
ORG
0FF94H
DSL
WARI
ORG
0FFDCH
DSL
START
DB
00H
ENDS
END
START
; Enable write timing interrupt
;Clears interrupt flag
;Sets OPT0 pin as PPG output
;Sets OPT1 pin as inverted PPG output
;Starts data transfer
;Sets ILM in PS to level 7
;Interrupt enable
;Endless loop
;
;
;Clears interrupt request flag
;Returns from interrupt
;Sets vector for interrupt #26 (1AH)
;Sets reset vector
;Sets single-chip mode

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents