Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Serial interfaces<br />
<strong>STM32W108C8</strong><br />
9.9.5 Serial clock exponential prescaler register (SCx_RATEEXP)<br />
Table 59.<br />
Address offset: 0xC864 (SC1_RATEEXP) and 0xC064 (SC2_RATEEXP)<br />
Reset value: 0x0000 0000<br />
Serial clock exponential prescaler register (SCx_RATEEXP)<br />
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />
Reserved<br />
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />
Reserved<br />
SC_RATEEXP<br />
rw<br />
Bits [3:0] SC_RATEEXP: The exponential component (EXP) of the clock rate in the equation:<br />
Rate = 12 MHz / ( (LIN + 1) * (2^EXP) )<br />
9.10 SPI slave mode registers<br />
Refer to Section 9.9: SPI master mode registers on page 92 for a description of the<br />
SCx_DATA, SCx_SPICFG, and SCx_SPISTAT registers.<br />
9.11 Inter-integrated circuit (I 2 C) interface registers<br />
9.11.1 I 2 C status register (SCx_TWISTAT)<br />
Table 60.<br />
Address offset: 0xC844 (SC1_TWISTAT) and 0xC044 (SC2_TWISTAT)<br />
Reset value: 0x0000 0000<br />
I 2 C status register (SCx_TWISTAT)<br />
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />
Reserved<br />
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />
Reserved<br />
SC_T<br />
WICM<br />
DFIN<br />
SC_T<br />
WIRXF<br />
IN<br />
SC_T<br />
WITXF<br />
IN<br />
SC_T<br />
WIRXN<br />
AK<br />
r r r r<br />
Bit 3 SC_TWICMDFIN: This bit is set when a START or STOP command completes. It clears on the<br />
next I2C bus activity.<br />
Bit 2 SC_TWIRXFIN: This bit is set when a byte is received. It clears on the next I 2 C bus activity.<br />
Bit 1 SC_TWITXFIN: This bit is set when a byte is transmitted. It clears on the next I 2 C bus activity.<br />
Bit 0 SC_TWIRXNAK: This bit is set when a NACK is received from the slave. It clears on the next<br />
I 2 C bus activity.<br />
95/215 Doc ID 018587 Rev 2