Fujitsu F2MC-16LX Hardware Manual page 535

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

Advertisement

MOV
I:SCR0, #00010011B
MOV
I:SSR0, #00000010B
MOV
I:SODR0, #13H
MOV
ILM, #07H
OR
CCR, #40H
LOOP:
MOV
A,#00H
MOV
A,#01H
BRA
LOOP
;----------Interrupt Program------------------------------------------------------------
WARI:
MOV
A, SIDR0
CLRB
I:REC
;
:
;
User processing
;
:
RETI
CODE
ENDS
;----------Vector Settings------------------------------------------------------------------
VECT
CSEG
ABS=0FFH
ORG
0FF60H
DSL
WARI
ORG
0FFDCH
DSL
START
DB
00H
VECT
ENDS
; Parity none and stop bit 2 bits
; Data length 8 bits and reception clear error flag
; Enables the transmission/reception operation
; sending interrupt disabled, receiving interrupt
; enabled
; Transmission data writing
; Sets ILM in PS to level 7
; Interruption permission
; infinite loop
; Reading receive data
; The reception interrupt request flag is clear.
; Returns from interrupt.
; The vector is set in interruption #39(27
; Reset vector setting
; Set to Single-chip mode
CHAPTER 21 UART
).
H
519

Advertisement

Table of Contents
loading

Table of Contents