Renesas RL78 Series User Manual page 565

16-bit single-chip microcontrollers
Hide thumbs Also See for RL78 Series:
Table of Contents

Advertisement

RL78/G1D
14.5.2 Addresses
The address is defined by the 7 bits of data that follow the start condition.
An address is a 7-bit data segment that is output in order to select one of the slave devices that are connected to the
master device via the bus lines. Therefore, each slave device connected via the bus lines must have a unique address.
The slave devices include hardware that detects the start condition and checks whether or not the 7-bit address data
matches the data values stored in the slave address register n (SVAn). If the address data matches the SVAn register
values, the slave device is selected and communicates with the master device until the master device generates a start
condition or stop condition.
SCLAn
SDAAn
INTIICAn
Note INTIICAn is not issued if data other than a local address or extension code is received during
Addresses are output when a total of 8 bits consisting of the slave address and the transfer direction described in
14.5.3 Transfer direction specification are written to the IICA shift register n (IICAn). The received addresses are
written to the IICAn register.
The slave address is assigned to the higher 7 bits of the IICAn register.
14.5.3 Transfer direction specification
In addition to the 7-bit address data, the master device sends 1 bit that specifies the transfer direction.
When this transfer direction specification bit has a value of "0", it indicates that the master device is transmitting data to
a slave device. When the transfer direction specification bit has a value of "1", it indicates that the master device is
receiving data from a slave device.
SCLAn
SDAAn
INTIICAn
Note INTIICAn is not issued if data other than a local address or extension code is received during
Remark n = 0
R01UH0515EJ0120 Rev.1.20
Dec 16, 2016
Figure 14-16. Address
1
2
A6
A5
A4
slave device operation.
Figure 14-17. Transfer Direction Specification
1
2
A6
A5
A4
slave device operation.
CHAPTER 14 SERIAL INTERFACE IICA
3
4
5
6
7
A3
A2
A1
A0
Address
3
4
5
6
7
A3
A2
A1
A0
Transfer direction specification
8
9
R/W
Note
8
9
R/W
Note
544

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rl78/g1dR5f11aggR5f11aghR5f11agj

Table of Contents