Table 9-16. Icstat Register; Table 9-17. Icstat Fields - Sharp LH79524 User Manual

Table of Contents

Advertisement

LH79524/LH79525 User's Guide
9.2.2.7 I
The ICSTAT register provides status regarding the state of the module.
BIT
FIELD
RESET
TYPE
BIT
FIELD
RESET
TYPE
ADDR
BITS
31:8
7
6
5
4
3
2
2
C Status Register (ICSTAT)

Table 9-16. ICSTAT Register

31
30
29
28
0
0
0
0
RO
RO
RO
RO
RO
15
14
13
12
///
0
0
0
0
RO
RO
RO
RO
RO
NAME
///
Reserved Reading returns 0. Write the reset value.
Slave Address
SLAVEAD
1 = Last byte received on the I
0 = Last byte received was not a Slave address byte
Receive Abort This bit indicates a Receive fault.
1 = (Slave Mode) The I
address bits matched but the lower address bits did not.
RXABORT
1 = (Master Mode) The upper and lower address bits match but a restart
was issued by the Master in Master-receive mode, and the repeated
upper address does not match.
0 = No Receive Abort
Transmit Abort This bit indicates a Transmit fault. This bit remains 1 until
the ICSTAT Register is read by software.
2
1 = I
C Module is operating in the Master-transmitter mode and a Slave
TXABORT
device does not respond with an ACK signal after receiving a byte of
data, or arbitration was lost.
0 = No Transmit Abort
Idle Indicates that no messages are currently being processed.
IDLE
2
1 = I
C Module is not processing any messages
2
0 = I
C Module is actively processing messages
10-bit Address This status bit denotes that a 10-bit address was detected.
This bit remains 1 until automatically cleared when the ICSTAT Register is
read by software.
10BITADDR
1 = A 10-bit address is detected
0 = No 10-bit address detected
///
Reserved Reading returns 0. Write the reset value.
27
26
25
24
23
///
0
0
0
0
0
RO
RO
RO
RO
11
10
9
8
7
0
0
0
0
0
RO
RO
RO
RO
0xFFFC5000 + 0x1C

Table 9-17. ICSTAT Fields

DESCRIPTION
2
C bus was a Slave address byte
2
C Module is in 10-bit Slave mode and the upper
Version 1.0
22
21
20
19
18
0
0
0
0
0
RO
RO
RO
RO
RO
6
5
4
3
2
///
0
0
1
0
0
RO
RO
RO
RO
RO
2
I
C Module
17
16
0
0
RO
RO
1
0
0
0
RO
RO
9-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lh79525

Table of Contents