Fujitsu MB90895 Series Hardware Manual page 494

16 bit, controller manual
Table of Contents

Advertisement

CHAPTER 15 UART1
MOV
I:SSR1,#00000010B ; Disable transmission interrupt and
MOV
I:SODR1,#13H
MOV
ILM,#07H
OR
CCR,#40H
LOOP: MOV
A,#00H
MOV
A,#01H
BRA
LOOP
; ------Interrupt program--------------------------------------------
WARI:
MOV
A,SIDR1
CLRB
I:REC
;
:
;
User processing
;
:
RETI
CODE
ENDS
; -------Vector setting----------------------------------------------
VECT
CSEG
ABS=0FFH
ORG
0FF68H
DSL
WARI
ORG
0FFDCH
DSL
START
DB
00H
VECT
ENDS
476
enable reception interrupt
; Write transmission data
; Setting ILM in PS to level 7
; Enable interrupt
; No limit roop
; Read reception data
; Clear reception interrupt requestflag
; Recavery from interrupt
; Setting vector of interrupt #37 (25
; Setting reset vector
; Setting single chip mode
)
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lx

Table of Contents