Rev. 1.10
88
November 26, 2019
Rev. 1.10
89
November 26, 2019
HT68FB240
USB Low Speed Flash MCU
SIMA Register
Bit
7
6
5
4
3
2
1
0
Name
IICA6
IICA5
IICA4
IICA3
IICA2
IICA1
IICA0
—
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
x
x
x
x
x
x
x
0
"x" unknown
Bit 7~1
IICA6~IICA0:
I
2
C slave address
IICA6~ IICA0 is the I
2
C slave address bit 6
~ bit 0.
The SIMA register is also used by the SPI interface but has the name SIMC2. The
SIMA register is the location where the 7-bit slave address of the slave device is
stored. Bits 7~ 1 of the SIMA register define the device slave address. Bit 0 is not
defined.
When a master device, which is connected to the I
2
C bus, sends out an address, which
matches the slave address in the SIMA register, the slave device will be selected. Note
that the SIMA register is the same register address as SIMC2 which is used by the SPI
interface.
Bit 0
Undefined bi
t
This bit can be read or written by user software program.
SBSC Register
Bit
7
6
5
4
3
2
1
0
Name
SIM_WCOL
—
I2CDB1
I2CDB0
—
—
—
—
R/W
R/W
—
R/W
R/W
—
—
—
—
POR
0
—
0
0
—
—
—
—
Bit 7
SIM_WCOL:
SIM
WCOL control bit
Related to
SPI,
described
elsewhere
Bit 6
Unimplemented, read as "0"
Bit 5~4
I2CDB1~I2CDB0:
I
2
C debounce selection bits
00:
No debounce (default)
01:
1 system clock debounce
10:
2 system clocks debounce
11:
2 system clocks debounce
Bit 3~0
Unimplemented, read as "0"
I
2
C Block Diagram