Toshiba TLCS-90 Series Data Book page 241

8 bit microcontroller
Table of Contents

Advertisement

TOSHIBA
TMP90C840
Initial setting for serial receiving
CALL
SET
SET
LD
LDW
LDW
LD
EI
SIOINIT
1,(FFE6H)
1,(FFE8H)
(FF70H),7
(FF71H) ,FFOOH
(FF73H) ,FFEBH
(FF75H),1
ORG
0070H
Enable
an
interrupt
for
serial
data
receiving.
Set the micro DMA processing mode for the
interrupt.
Set the number of transfer
=
7
Set FFOOH for the destination address.
Set
FFEBH
for
the
source
(serial
receiving buffer) address.
Set the trans fer mode (I-byt e transfer:
Increment destination address).
Interrupt processing program
after serial data receiving
REETI
Fig. 3.3 (5)
Example of Micro DMA Processing
The bus operation in the general purpose interrupt processing and the
micro DMA processing is included in "Table 3.2
Bus Operation for
Executing Instructions" in the previous section.
The micro DMA processing time (when the number of transfer is not
decremented to 0) is 46 states without regard to the I-byte/2-byte
transfer mode.
Figure 3.3 (6) shows the interrupt processing flowchart.
MPU90-43

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents