15. Combination of USART, SPI, and I2C (USI)
A96G150 User's manual
210
USInSCHR (USInSCL High Period Register: For I2C mode): E7H/F7H, n = 0, 1
7
6
5
4
3
2
1
0
USInSCHR7
USInSCHR6
USInSCHR5
USInSCHR 4
USInSCHR 3
USInSCHR 2
USInSCHR 1
USInSCHR 0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 3FH
USInSCHR[7:0]
This register defines the high period of SCLn when it operates in I2C
master mode.
The base clock is SCLK, the system clock, and the period is calculated
by the formula: t
SCLK
X (4 X US2) where
t
SCLK
is the period of SCLK.
So, the operating frequency of I2C master mode is calculated by the following
equation.
USInSCLR (USInSCL Low Period Register: For I2C mode): E6H/F6H, n = 0, 1
7
6
5
4
3
2
1
0
USInSCLR7
USInSCLR6
USInSCLR5
USInSCLR 4
USInSCLR 3
USInSCLR 2
USInSCLR 1
USInSCLR 0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 3FH
USInSCLR[7:0]
This register defines the high period of SCLn when it operates in I2C
master mode.
The base clock is SCLK, the system clock, and the period is calculated
by the formula: t
SCLK
X (4 X US2) where
t
SCLK
is the period of SCLK.
USInSAR (USIn Slave Address Register: For I2C mode): DDH/EDH, n = 0, 1
7
6
5
4
3
2
1
0
USInSLA6
USInSLA5
USInSLA4
USInSLA3
USInSLA2
USInSLA1
USInSLA0
USInGCE
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Initial value: 00H
USInSLA[6:0]
These bits configure the slave address of I2C when it operates in I2C
slave mode.
USInGCE
This bit decides whether I2C allows general call address or not in I2C
slave mode.
0
Ignore general call address
1
Allow general call address
f
I2C
=
t
SCLK
X (4 X (US USInSCHR) + 4)
1
Содержание A96G150
Страница 126: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 126 Figure 43 16 bit Timer Counter Mode Operation Example...
Страница 136: ...12 Timer 0 1 2 3 4 5 A96G150 User s manual 136 Figure 51 16 bit Timer Counter Mode Operation Example...
Страница 147: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 147 Figure 59 16 bit Timer Counter Mode Operation Example...
Страница 157: ...A96G150 User s manual 12 Timer 0 1 2 3 4 5 157 Figure 67 16 bit Timer Counter Mode Operation Example...
Страница 171: ...A96G150 User s manual 14 12 bit ADC 171 Figure 79 ADC Operation Flow Sequence...
Страница 333: ...A96G150 User s manual Revision history 333 Revision history Revision Date Notes 1 00 2022 06 22 First creation...