OM11077 NXP Semiconductors, OM11077 Datasheet - Page 581

no-image

OM11077

Manufacturer Part Number
OM11077
Description
MODULE DIMM LPC2478 ARM7
Manufacturer
NXP Semiconductors
Datasheets

Specifications of OM11077

Accessory Type
Module Card
For Use With/related Products
ARM-57TS-LPC2478
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
568-4742
NXP Semiconductors
8. Register description
Table 512. Summary of I
UM10237_4
User manual
Generic
Name
I2CONSET I2C Control Set Register. When a one is written to a
I2STAT
I2DAT
I2ADR
Description
bit of this register, the corresponding bit in the I
control register is set. Writing a zero has no effect on
the corresponding bit in the I
I2C Status Register. During I
register provides detailed status codes that allow
software to determine the next action needed.
I2C Data Register. During master or slave transmit
mode, data to be transmitted is written to this register.
During master or slave receive mode, data that has
been received may be read from this register.
I2C Slave Address Register. Contains the 7 bit slave
address for operation of the I
mode, and is not used in master mode. The least
significant bit determines whether a slave responds to
the general call address.
7.9 Status decoder and status register
The contents of the I
will set bits in the I
Conversely, writing to I2CONCLR will clear bits in the I
to ones in the value written.
The status decoder takes all of the internal status bits and compresses them into a 5 bit
code. This code is unique for each I
vector addresses for fast processing of the various service routines. Each service routine
processes a particular bus status. There are 26 possible bus states if all four modes of the
I
status register when the serial interrupt flag is set (by hardware) and remains stable until
the interrupt flag is cleared by software. The three least significant bits of the status
register are always zero. If the status code is used as a vector to service routines, then the
routines are displaced by eight address locations. Eight bytes of code is sufficient for most
of the service routines (see the software example in this section).
Each I
2
2
C block are used. The 5 bit status code is latched into the five most significant bits of the
C registers
2
C interface contains 7 registers as shown in
2
2
C control register.
2
C interface in slave
C operation, this
2
C control register that correspond to ones in the value written.
2
C control register may be read as I2CONSET. Writing to I2CONSET
Rev. 04 — 26 August 2009
2
C
2
C bus status. The 5 bit code may be used to generate
Access Reset
R/W
RO
R/W
R/W
Chapter 22: LPC24XX I
value
0x00
0xF8
0x00
0x00
Table 22–512
[1]
2
C control register that correspond
I
Name & Address
I2C0CONSET - 0xE001 C000
I2C1CONSET - 0xE005 C000
I2C2CONSET - 0xE008 0000
I2C0STAT - 0xE001 C004
I2C1STAT - 0xE005 C004
I2C2STAT - 0xE008 0004
I2C0DAT - 0xE001 C008
I2C1DAT - 0xE005 C008
I2C2DAT - 0xE008 0008
I2C0ADR - 0xE001 C00C
I2C1ADR - 0xE005 C00C
I2C2ADR - 0xE008 000C
2
Cn Register
below.
2
C interfaces I
UM10237
© NXP B.V. 2009. All rights reserved.
581 of 792
2
C0/1/2

Related parts for OM11077