ST72325R6-AUTO STMicroelectronics, ST72325R6-AUTO Datasheet - Page 174

no-image

ST72325R6-AUTO

Manufacturer Part Number
ST72325R6-AUTO
Description
8-bit Mcu For Automotive With 16 To 60 Kbyte Flash, Adc, Css, 5 Timers, Spi, Sci, I2c Interface
Manufacturer
STMicroelectronics
Datasheet
I2C bus interface (I2C)
16.7.2
174/250
Table 83.
I
Table 84.
2
SR1
Bit
Bit
C status register 1 (SR1)
1
0
7
EVF
RO
7
Name
Name
STOP
EVF
ITE
CR register description (continued)
SR1 register description
ADD10
Event flag
Generation of a Stop condition
Interrupt enable
RO
This bit is set by hardware as soon as an event occurs. It is cleared by software
reading SR2 register in case of error event or as described in
cleared by hardware when the interface is disabled (PE = 0).
0: No event
1: One of the following events has occurred:
This bit is set and cleared by software. It is also cleared by hardware in master
mode.
Note: This bit is not cleared when the interface is disabled (PE = 0).
In Master mode
0: No stop generation
1: Stop generation after the current byte transfer or after the current Start condition
is sent. The STOP bit is cleared by hardware when the Stop condition is sent.
In Slave mode
0: No stop generation
1: Release the SCL and SDA lines after the current byte transfer (BTF = 1). In this
mode the STOP bit has to be cleared by software.
This bit is set and cleared by software and cleared by hardware when the interface
is disabled (PE = 0).
0: Interrupts disabled
1: Interrupts enabled
Refer to
interrupt.
SCL is held low when the ADD10, SB, BTF or ADSL flags or an EV6 event (see
Figure
6
- BTF = 1 (Byte received or transmitted)
- ADSL = 1 (Address matched in Slave mode while ACK = 1)
- SB = 1 (Start condition generated in Master mode)
- AF = 1 (No acknowledge received after byte transmission)
- STOPF = 1 (Stop condition detected in Slave mode)
- ARLO = 1 (Arbitration lost in Master mode)
- BERR = 1 (Bus error, misplaced Start or Stop condition detected)
- ADD10 = 1 (Master has sent header byte)
- Address byte successfully transmitted in Master mode
70) is detected.
Figure 71
TRA
RO
5
and
Table 82
BUSY
RO
4
for the relationship between the events and the
Function
Function
BTF
RO
3
ADSL
RO
2
Reset value: 0000 0000 (00h)
Figure
M/SL
ST72325xxx-Auto
RO
1
70. It is also
RO
SB
0

Related parts for ST72325R6-AUTO