Download Print this page

Renesas M16C/50 Series User Manual page 557

Advertisement

M16C/5L Group, M16C/56 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.
R01UH0127EJ0110 Rev.1.10
Sep 01, 2011
2
C interface disabled).
2
C interface reset).
2
C interface disabled).
2
C interface reset).
2
22. Multi-master I
C-bus Interface
Page 520 of 803

Advertisement

loading