Fujitsu MB90335 Series Hardware Manual page 474

16-bit microcontroller
Table of Contents

Advertisement

MB90335 Series
Figure 19.3-5 Operation Flow of the Slave Program (with Interrupts) for the I
Main routine
Start
Set the slave
address
2
I
C operation enabled
Set slave mode
LOOP
CM44-10137-6E
Interrupt routine
Start
YES
Bus error
occurred?
NO
NO
Is addressing
completed?
YES
NO
Is the data direction
bit (TRX)=1?
YES
NO
Is ACK
returned?
YES
Set the send data
Clear the transfer end
interrupt source
RETI
FUJITSU MICROELECTRONICS LIMITED
1
Clear the transfer end
interrupt source
2
RETI
1
Is the
receive data an
address?
NO
Store the data
in RAM
1
Clear the transfer end
interrupt source
RETI
2
CHAPTER 19 I
C INTERFACE
2
19.3 I
C Interface Operation
2
C Interface
2
Clear the bus error
interrupt factor
2
I
C operation enabled
2
I
C initial setting
RETI
YES
453

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16lxMb90v330aMb90f337Mb90337

Table of Contents