Renesas M16C/64C User Manual page 589

Table of Contents

Advertisement

M16C/64C Group
TRX (Communication mode select bit 0) (b6)
Set the TRX bit to select transmit mode or receive mode.
Conditions to become 0:
The TRX bit is set to 0 by a program.
Arbitration lost is detected.
Stop condition is detected.
Start condition overlap protect function is enabled.
Start condition is detected when the MST bit in the S10 register is 0 (slave mode).
No ACK is detected from a receiver when the MST bit in the S10 register is 0 (slave mode).
The ES0 bit in the S1D0 register is set to 0 (I
The IHR bit in the S1D0 register is set to 1 (I
Conditions to become 1:
The TRX bit is set to 1 by a program.
In slave mode, the ALS bit in the S1D0 register is 0 (addressing format), the AAS bit in the S10
register becomes 1 (address matched) after receiving the slave address, and the received R/W bit
is 1.
MST (Communication mode select bit 1) (b7)
Set the MST bit to select master mode or slave mode.
Conditions to become 0:
The MST bit is set to 0 by a program.
The 1-byte data that lost arbitration is completed transmitting/receiving when arbitration lost is
detected.
Stop condition is detected.
Start condition overlap protect function is enabled.
The ES0 bit in the S1D0 register is 0 (I
The IHR bit in the S1D0 register is 1 (I
Conditions to become 1:
The MST bit is set to 1 by a program.
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
2
C interface disabled).
2
C interface reset).
2
C interface disabled).
2
C interface reset).
2
25. Multi-master I
C-bus Interface
Page 556 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents