Philips LPC2119 User Manual page 144

Arm-based microcontroller
Hide thumbs Also See for LPC2119:
Table of Contents

Advertisement

Philips Semiconductors
ARM-based Microcontroller
2
I
C Status Register (I2STAT - 0xE001C004)
This is a read-only register. It contains the status code of the I
possible status codes. When the code is F8H, there is no relevant information available and the SI bit is not set. All other 25 status
codes correspond to defined I
Family Derivatives 8XC552/562 Overview" datasheet available on-line at
http://www.semiconductors.philips.com/acrobat/various/8XC552_562OVERVIEW_2.pdf
for a complete list of status codes.
2
Table 105: I
C Status Register (I2STAT - 0xE001C004)
I2STAT
Function
2:0
Status
7:3
Status
2
I
C Data Register (I2DAT - 0xE001C008)
This register contains the data to be transmitted or the data just received. The CPU can read and write to this register while it is
not in the process of shifting a byte. This register can be accessed only when SI bit is set. Data in I2DAT remains stable as long
as the SI bit is set. Data in I2DAT is always shifted from right to left: the first bit to be transmitted is the MSB (bit 7), and after a
byte has been received, the first bit of received data is located at the MSB of I2DAT.
2
Table 106: I
C Data Register (I2DAT - 0xE001C008)
I2DAT
Function
7:0
Data
2
I
C Slave Address Register (I2ADR - 0xE001C00C)
This register is readable and writable, and is only used when the I
effect. The LSB of I2ADR is the general call bit. When this bit is set, the general call address (00h) is recognized.
2
Table 107: I
C Slave Address Register (I2ADR - 0xE001C00C)
I2ADR
Function
0
GC
7:1
Address
I2C Interface
2
C states. When any of these states entered, SI bit will be set. Refer to Table 3 to Table 6 in "80C51
These bits are always 0
Status bits
Transmit/Receive data bits
General Call bit
Slave mode address
2
C interface. The least three bits are always 0. There are 26
Description
Description
2
C is set to slave mode. In master mode, this register has no
Description
144
Preliminary User Manual
LPC2119/2129/2292/2294
January 08, 2004
Reset
Value
0
1
Reset
Value
0
Reset
Value
0
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lpc2129Lpc2292Lpc2294

Table of Contents