Fujitsu FR60 Computer Hardware User Manual


  Open as PDF
of 1038
 
680
Chapter 33 I2C Controller
2.I2C Interface Registers
2.6 Seven Bit Slave Address Mask Register (ISMK0)
This register contains the seven bit slave address mask and the seven bit mode enable bit. Write access to
this register is only possible if the interface is disabled (EN=‘0’ in ICCR0).
[bit 15] ENSB - EnaBle Seven Bit slave address
This bit enables the seven bit slave address (and the acknowleding upon its reception).
[bit 14] - [bit 8] SMK - Seven bit slave address MasK (SM6-SM0)
This register is used to mask the seven bit slave address of the interface.
This can be used to make the interface acknowledge on multiple seven bit slave addresses. Only the bits set
to ‘1’ in this register are used in the seven bit slave address comparision. The received slave address is
written back to the ISBA0 register and thus may be determined by reading the ISBA0 register if the AAS bit in
the IBSR0 register is ‘1’.
Note: If the address mask is changed after the interface had been enabled, the slave address should also be
set again since it could have been overwritten by a previously received slave address.
0 Seven bit slave address disabled.
1 Seven bit slave address enabled.
0 Bit is not used in slave address comparision.
1 Bit is used in slave address comparision.
ENSB SM6 SM5 SM4 SM3 SM2 SM1 SM0
Bit no.
Read/write
(R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W) (R/W)
Default value
(0) (1) (1) (1) (1) (1) (1) (1)
Seven Bit Address Mask register
Address : 0000D6
H
15 14 13 12 11 10 9 8
ISMK0