Renesas M16C/64A Series User Manual page 584

Table of Contents

Advertisement

M16C/64A Group
Table 25.10 lists Functions Enabled by Writing to the S10 Register. Only set the values listed in Table
25.10. If the values listed in Table 25.10 are written to the S10 register, the 6 lower bits in the S10
register will not be changed.
Table 25.10
Functions Enabled by Writing to the S10 Register
Bit Setting of the S10 Register
MST
TRX
BB
1
1
1
1
1
0
0
0
0
1
1
0
1
1
: 0 or 1
Refer to 25.3.2 "Generating a Start Condition" and 25.3.3 "Generating a Stop Condition" for start/stop
conditions.
LRB (Last receive bit) (b0)
When read, the LRB bit functions as described below. See Table 25.10 "Functions Enabled by Writing
to the S10 Register" for the bit function in write access.
The LRB bit stores the value of the last bit of the received data. It is used to check if ACK is received.
The bit becomes 0 after writing to the S00 register.
ADR0 (General call detect flag) (b1)
The ADR0 bit function in read access is described below. See Table 25.10 "Functions Enabled by
Writing to the S10 Register" for the bit function in write access.
Conditions to become 0:
Stop condition is detected.
Start condition is detected.
The ES0 bit in the S1D0 register is set to 0 (I
The IHR bit in the S1D0 register is set to 1 (I
Condition to become 1:
The ALS bit in the S1D0 register is set to 0 (addressing format) and the received slave address is
0000000b (general call) in slave mode.
R01UH0136EJ0210 Rev.2.10
Jul 31, 2012
PIN
AL
AAS
ADR0
0
0
0
0
0
0
0
0
0
1
1
1
0
1
1
1
0
1
1
1
0
1
1
1
LRB
2
Sets the I
C interface to start condition standby state
0
in master transmit/receive mode
2
Sets the I
C interface to stop condition standby state
0
in master transmit/receive mode
1
Slave receive mode
1
Slave transmit mode
1
Master receive mode
1
Master transmit mode
2
C interface disabled).
2
C interface reset).
2
25. Multi-master I
C-bus Interface
Function
Page 551 of 800

Advertisement

Table of Contents
loading

Table of Contents