306
15.2.2
Slave Address Register (SAR)
Bit
Initial value
Read/Write
7
SVA6
0
R/W
6
SVA5
0
R/W
5
SVA4
0
R/W
4
SVA3
0
R/W
3
SVA2
0
R/W
0
FS
0
R/W
2
SVA1
0
R/W
1
SVA0
0
R/W
SAR is an 8-bit readable/writable register that stores the slave address and selects the
communication format. When the chip is in slave mode (and the addressing format is selected), if
the upper 7 bits of SAR match the upper 7 bits of the first frame received after a start condition,
the chip operates as the slave device specified by the master device. SAR is assigned to the same
address as ICMR, and can be written and read only when the ICE bit is cleared to 0 in ICCR.
SAR is initialized to H'00 by a reset.
Bits 7 to 1—Slave Address (SVA6 to SVA0): Set a unique address in bits SVA6 to SVA0,
differing from the addresses of other slave devices connected to the I
2
C bus.
Bit 0—Format Select (FS): Used together with the FSX bit in SARX to select the communication
format.
The FS bit also specifies whether or not SAR slave address recognition is performed in slave
mode. For details on formats, refer to section 15.3.1, I
2
C Bus Data Format.
SAR
SARX
Bit 0: FS
Bit 0: FSX
Operating Mode
0
0
I
2
C bus format
•
SAR and SARX slave addresses recognized
1
I
2
C bus format
(Initial value)
•
SAR slave address recognized
•
SARX slave address ignored
1
0
I
2
C bus format
•
SAR slave address ignored
•
SARX slave address recognized
1
Synchronous serial format
•
SAR and SARX slave addresses ignored
Summary of Contents for H8/3660
Page 4: ......
Page 26: ...10 ...
Page 82: ...66 ...
Page 152: ...136 ...
Page 154: ...138 ...
Page 260: ...244 ...