C Bus Control Register (Iccr) - Renesas H8S/2111B Hardware Manual

Bit single-chip microcomputer h8s family / h8s/2100 series
Table of Contents

Advertisement

2
13.3.5
I

C Bus Control Register (ICCR)

2
ICCR controls the I
C bus interface and performs interrupt flag confirmation.
Bit
Bit Name
7
ICE
6
IEIC
5
MST
4
TRS
Initial
Value
R/W
0
R/W
0
R/W
0
R/W
0
R/W
Description
2
I
C Bus Interface Enable
2
0: I
C bus interface modules are stopped and I
interface module internal state is initialized. SAR and
SARX can be accessed.
2
1: I
C bus interface modules can perform transfer
operation, and the ports function as the SCL and SDA
input/output pins. ICMR and ICDR can be accessed.
2
I
C Bus Interface Interrupt Enable
0: Disables interrupts from the I
CPU
1: Enables interrupts from the I
CPU.
Master/Slave Select
Transmit/Receive Select
MST
TRS
0
0
: Slave receive mode
0
1
: Slave transmit mode
1
0
: Master receive mode
1
1
: Master transmit mode
Both these bits will be cleared by hardware when they
lose in a bus contention in master mode with the I
format. In slave receive mode with I
R/W bit in the first frame immediately after the start
condition sets these bits in receive mode or transmit
mode automatically by hardware.
Modification of the TRS bit during transfer is deferred
until transfer is completed, and the changeover is made
after completion of the transfer.
2
C bus interface to the
2
C bus interface to the
2
C bus format, the
Rev. 1.00, 05/04, page 289 of 544
2
C bus
2
C bus

Advertisement

Table of Contents
loading

This manual is also suitable for:

Hd64f2111b

Table of Contents