Slave Address Register (Sar) - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

2
If I
C is in receive mode and no previous data remains in ICDRR (the ICDRF flag is 0), data is
transferred automatically from ICDRS to ICDRR, following reception of one frame of data using
ICDRS. If additional data is received while the ICDRF flag is 1, data is transferred automatically
from ICDRS to ICDRR by reading from ICDR. In transmit mode, no data is transferred from
ICDRS to ICDRR. Always set I
If the number of bits in a frame, excluding the acknowledge bit, is less than eight, transmit data
and receive data are stored differently. Transmit data should be written justified toward the MSB
side when MLS = 0 in ICMR, and toward the LSB side when MLS = 1. Receive data bits should
be read from the LSB side when MLS = 0, and from the MSB side when MLS = 1.
ICDR can be written to and read from only when the ICE bit is set to 1 in ICCR. The initial value
of ICDR is undefined.
16.3.2

Slave Address Register (SAR)

SAR sets the slave address and selects the communication format. If the LSI is in slave mode with
2
the I
C bus format selected, when the FS bit is set to 0 and the upper 7 bits of SAR match the
upper 7 bits of the first frame received after a start condition, the LSI operates as the slave device
specified by the master device. SAR can be accessed only when the ICE bit in ICCR is cleared to
0.
Bit Bit Name
Initial Value R/W
7
SVA6
0
6
SVA5
0
5
SVA4
0
4
SVA3
0
3
SVA2
0
2
SVA1
0
1
SVA0
0
0
FS
0
2
C to receive mode before reading from ICDR.
Description
R/W
Slave Address 6 to 0
R/W
Set a slave address.
R/W
R/W
R/W
R/W
R/W
R/W
Format Select
Selects the communication format together with the FSX
bit in SARX. See table 16.2.
This bit should be set to 0 when general call address
recognition is performed.
2
Section 16 I
C Bus Interface (IIC)
Rev. 3.00 Jul. 14, 2005 Page 511 of 986
REJ09B0098-0300

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2100 seriesH8s/2114rR4f2114r

Table of Contents