NEC V850E/Dx3 Preliminary User's Manual page 628

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 18
628
Downloaded from
Elcodis.com
electronic components distributor
(3)
Communication direction flag
This flag indicates the direction of communication and is the same as the value
of IICSn.TRCn bit.
The following shows the operation of the main processing block during slave
operation.
2
Start I
C0n and wait for the communication enabled status. When
communication is enabled, perform transfer using the communication mode
flag and ready flag (the processing of the stop condition and start condition is
performed by interrupts, conditions are confirmed by flags).
For transmission, repeat the transmission operation until the master device
stops returning ACK signal. When the master device stops returning ACK
signal, transfer is complete.
For reception, receive the required number of data and do not return ACK
signal for the next data immediately after transfer is complete. After that, the
master device generates the stop condition or restart condition. This causes
exit from communications.
Preliminary User's Manual U17566EE1V2UM00
2
I
C Bus (IIC)

Advertisement

Table of Contents
loading

Table of Contents