Fujitsu F2MC-8L F202RA Hardware Manual page 354

F2mc-8l 8-bit microcontroller
Hide thumbs Also See for F2MC-8L F202RA:
Table of Contents

Advertisement

CHAPTER 14 8-BIT SERIAL I/O
;--------------------Interrupt processing routine-----------------------------------------------------------
WARI
; --------------------------------------------------------------------------------------------------------------------
338
MOV
SMR,#01001100B ; Clears the interrupt request flag, allows the interrupt
MOV
SSEL,#00000001B ; Selects the 8-bit serial I/O.
SETB
SST
SETI
:
CLRB
SIOF
PUSHW
A
XCHW
A,T
PUSHW
A
MOV
A,SDR
SETB
SST
:
User processing
:
POPW
A
XCHW
A,T
POPW
A
RETI
ENDS
END
request output, sets shift clock input (SCK), prohibits
serial data output (SO), selects the external shift clock,
and sets LSB first.
; Allows serial I/O transfer.
; Enables interrupts.
; Clears the interrupt request flag.
; Reads transfer data.
; Allows serial I/O transfer.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-8l mb89202Mb89202/f202ra series

Table of Contents