Fujitsu DevKit16 User Manual page 70

Table of Contents

Advertisement

(1) Bus status register
IBSR
7
Address: C9
BB
H
Read/Write
(R)
Initial Value
(0)
[Bit 7] BB: Bus Busy
0: The Stop condition was transmitted (initial value)
1: The Start condition was transmitted
This bit should be polled when the MS bit of the IBCR register is changed
by user.
[Bit 4] LRB: Last Received Bit
This bit stores the acknowledge bit (the acknowledge bit is the 9
data byte).
[Bit 3] TRX: Transmit/Receive
This bit indicates data transmitting and receiving.
0: Receive mode - the current (or the next) transfer will be reception of a
byte from a slave.
1: Transmit mode [initial value] - the current transfer will be transmission to
the slave.
This bit is set when the first byte after a START condition is written to the
IDAR register. It contains the state of the LSB bit of the first byte.
(2) Bus control register
IBCR
7
Address: CA
---
H
Read/Write
(---)
Initial Value
(---)
[Bit 5] SCC: Start Condition Continue
This bit generates the start condition.
• Write
0: Not applicable [Initial value]
1: The start condition is generated and address data transfer is started.
• Read
An '1' will be read out of this bit if it was previously written to it, until
the start condition is generated. After finishing the Start condition
transmission, this bit is reset to '0'.
6
5
4
---
---
LRB
(---)
(---)
(R)
(---)
(---)
(0)
6
5
4
---
SCC
MTS
(---)
(R/W)
(R/W)
(---)
(0)
(0)
68
68
68
68
3
2
1
TRX
---
---
(R)
(---)
(---)
(1)
(---)
(---)
th
3
2
1
ACK
--
INTE
(R/W)
(---)
(R/W)
(0)
(---)
(0)
0
---
(---)
(---)
bit of the
0
INT
(R/W)
(0)

Advertisement

Table of Contents
loading

Table of Contents