H8S2110B RENESAS [Renesas Technology Corp], H8S2110B Datasheet - Page 311

no-image

H8S2110B

Manufacturer Part Number
H8S2110B
Description
Renesas 16-Bit Single-Chip Microcomputer Renesas H8S Family/H8S/2100 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
13.3
The I
and SAR are allocated to the same addresses. Accessible registers differ depending on the ICE bit
in ICCR. When the ICE bit is cleared to 0, SAR and SARX can be accessed, and when the ICE bit
is set to 1, ICMR and ICDR can be accessed. For details on the serial timer control register, refer
to section 3.2.3, Serial Timer Control Register (STCR).
13.3.1
ICDR is an 8-bit readable/writable register that is used as a transmit data register when
transmitting and a receive data register when receiving. ICDR is internally divided into a shift
register (ICDRS), receive buffer (ICDRR), and transmit buffer (ICDRT). Data transfers among
these three registers are performed automatically in accordance with changes in the bus state, and
they affect the status of internal flags such as ICDRE and ICDRF.
In master transmit mode with the I
performed after start condition detection. When the start condition is detected, previous write data
is ignored. In slave transmit mode, writing should be performed after the slave addresses match
and the TRS bit is automatically changed to 1.
If the IIC is in transmit mode (TRS = 1) and ICDRT has the next transmit data (the ICDRE flag is
0) after successful transmission/reception of one frame of data using ICDRS, data is transferred
automatically from ICDRT to ICDRS.
If the IIC is in transmit mode (TRS = 1) and ICDRT has the next data (the ICDRE flag is 0), data
is transferred automatically from ICDRT to ICDRS, following transmission of one frame of data
using ICDRS. When the ICDRE flag is 1 and the next transmit data writing is waited, data is
transferred automatically from ICDRT to ICDRS by writing to ICDR. If I
(TRS = 0), no data is transferred from ICDRT to ICDRS. Note that data should not be written to
ICDR in receive mode.
I
I
I
I
Slave address register (SAR)
Second slave address register (SARX)
I
DDC switch register (DDCSWR)
2
2
2
2
2
C bus control register (ICCR)
C bus status register (ICSR)
C bus data register (ICDR)
C bus mode register (ICMR)
C bus extended control register (ICXR)
2
C bus interface has the following registers. Registers ICDR and SARX and registers ICMR
Register Descriptions
I
2
C Bus Data Register (ICDR)
2
C bus format, writing transmit data to ICDR should be
Rev. 2.00 Mar 21, 2006 page 273 of 518
Section 13 I
2
C is in receive mode
2
C Bus Interface (IIC)
REJ09B0299-0200

Related parts for H8S2110B