CY8C28xxx PSoC Programmable System-on-Chip TRM, Document No. 001-52594 Rev. *G
497
I
2
C
28.3
Register Definitions
The following registers are associated with I
2
C and are listed in address order. Each register description has an associated
register table showing the bit structure for that register. The bits in the tables that are grayed out are reserved bits and are not
detailed in the register descriptions that follow. Reserved bits should always be written with a value of ‘0’. For a complete table
of I
2
C registers, refer to the
“Summary Table of the System Resource Registers” on page 462
28.3.1
I2Cx_ADDR Register
The I
2
C address register is used to configure the hardware
address automatic comparison feature so that the microcon-
troller will not be disturbed by an unwanted slave request.
When HwAddrEn is enabled, the 7-bit address should be
stored in Addr[6:0]; there is an interrupt only when the
received address matches the stored address.
The hardware address automatic compare feature is avail-
able in slave only mode; master/slave mode is not sup-
ported.
For additional information, refer to the
Address
Name
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Access
1,Axh
HwAddrEn
Addr[6:0]
RW : 00
LEGEND
Xx An “x” in the address field indicates that there are multiple instances of the register. For an expanded address listing of these registers,
refer to the
“System Resources Register Summary” on page 462
Note
2nd I
2
C block in CY8C28x03, CY8C28x23, CY8C28x43, and CY8C28x45 devices only.
Table 28-1. I2C_ADDR Configuration Register
Bit
Access
Description
Mode
7
RW
HwAddrEn:
1: Enable hardware address comparison fea-
ture. Only supports 7-bit address. When you
enable the hardware address comparison fea-
ture, I
2
C block will not support the special sys-
tem address definition which is listed in I
2
C
V2.1 spec, section 10 (for example: general
call address, CBUS address, 10-bit slave
address, and so on).
0: Disable hardware address comparison fea-
ture.
Slave
Only
6:0
RW
Slave Address[6:0]:
These 7 bits hold the slave's own device
address.
Slave
Only
Содержание CY8C28 series
Страница 65: ...64 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G RAM Paging ...
Страница 85: ...84 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Internal Main Oscillator IMO ...
Страница 93: ...92 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G External Crystal Oscillator ECO ...
Страница 97: ...96 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Phase Locked Loop PLL ...
Страница 125: ...124 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Страница 311: ...310 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G IDAC_CR0 1 FDh ...
Страница 317: ...316 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Страница 393: ...392 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...
Страница 425: ...424 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Analog Reference ...
Страница 461: ...460 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Two Column Limited Analog System ...
Страница 477: ...476 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Digital Clocks ...
Страница 483: ...482 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Multiply Accumulate MAC ...
Страница 513: ...512 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Internal Voltage Reference ...
Страница 523: ...522 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Switch Mode Pump SMP ...
Страница 533: ...532 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G I O Analog Multiplexer ...
Страница 537: ...536 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G Real Time Clock RTC ...
Страница 561: ...560 CY8C28xxx PSoC Programmable System on Chip TRM Document No 001 52594 Rev G ...