ST92196A STMicroelectronics, ST92196A Datasheet - Page 177

no-image

ST92196A

Manufacturer Part Number
ST92196A
Description
8/16-bit Mcu For Tv Applications With Up To 96k Rom, On-screen-display And 1 Or 2 Data Slicers
Manufacturer
STMicroelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ST92196A2B1/JPC
Manufacturer:
ST
Quantity:
188
Part Number:
ST92196A2B1/JPC
Manufacturer:
ST
0
Part Number:
ST92196A4B1
Manufacturer:
ST
Quantity:
1 566
Part Number:
ST92196A4B1
Manufacturer:
ST
0
Part Number:
ST92196A4B1/JCO
Manufacturer:
ST
0
Part Number:
ST92196A4B1/JET
Manufacturer:
ST
0
Part Number:
ST92196A4B1/JEY
Manufacturer:
ST
0
I
CONTROL REGISTER (I2CCTR)
R242 - Read/Write
Register Page: 44
Reset Value: 0000 0001(01h)
Bit 7 = AFEN Advanced Features Enable bit
This bit enables or disables the unexpected & un-
processed error detection. Refer to the description
of the UNPROC and UNEXP bits in the I2CSTR2
register.
0: Advanced features disabled
1: Advanced features enabled
Bit 6 = RTI Return To Inactive state bit
This bit determines the interface status after an in-
terrupt is processed (either after a complete trans-
fer or an error occured).
0: The interface keeps its active state
1: The interface (master or slave) returns to the in-
Note: The state of the Active Flag (I2CSTR1.0) is
maintained.The RTI bit is automatically cleared.
Bit 5 = GENC_ACK General Call Acknowledge bit
This bit determines the response of the I
face when a general call is detected on the bus.
0: The interface will acknowledge the reception of
1: The interface will not acknowledge a ‘General
Bit 4 = SEND_ACK Send Acknowledge bit
This bit is set by software to define if the acknowl-
edge bit is placed on the bus when the interface is
operating as a master receiver, active slave re-
ceiver or an active slave.
0: An inactive interface will acknowledge the re-
1: The interface will not acknowledge the reception
177/268
AFEN RTI
- FOUR-CHANNEL I
2
C BUS INTERFACE (Cont’d)
7
active slave state
a ‘General Call’ immediately after receiving the
address 00h. An interrupt is generated at the
end of the acknowledge interval that follows the
address.
Call’ and does not generate an interrupt, i.e.
the interface will remain an inactive slave.
ception of its address and switch to active slave
mode.
of its address and remains inactive.
GENC_
ACK
SEND_
ACK
2
C BUS INTERFACE (I2C)
MONI
TOR
RSRT STOP CLEAR
2
C inter-
0
Note: The interface operating as a master slave
receiver is free to acknowledge or not all data
bytes. In a normal I
es all data bytes except the last received from a
slave/master transmitter.
SEND_ACK should be programmed before receiv-
ing the relevant byte (data or address).
Bit 3 = MONITOR Bus Monitor mode bit
This bit determines if the interface acts as a bus
monitor or not.
0: The bus monitor mode is disabled.
1: The interface behaves as a bus monitor. The in-
Bit 2 = RSRT Repeated Start bit
This bit determines if the interface generates auto-
matically a repeated start condition on the I
(in master mode) as soon as a new byte is ready to
be send.
0: Repeated start disabled
1: Repeated start enabled
Note: This bit is automatically cleared.
Bit 1 = STOP STOP condition generation bit
When working in master mode, this bit enables or
disables a STOP condition generation on the I
bus.
0: No Stop condition is generated
1: The master will generate a stop condition to ter-
Bit 0 = CLEAR Clear interface bit
This bit enables or disables the I
0: The interface is enabled
1: A general reset is generated. The interface be-
Note: The CLEAR bit is “1” (i.e. the interface is dis-
abled) when exiting from the MCUs power-on re-
set state.
terface becomes a slave regardless of the ad-
dress received, but neither the address or the
following data is acknowledged (this is equiva-
lent to SEND_ACK=1). If a read address is re-
ceived, the high state of the least significant bit
of this address is suppressed inside the inter-
face and all data bytes are processed by the
MCU as received data.
minate the bus transaction. The master will au-
tomatically revert to an inactive slave and the
STOP bit will be cleared.
comes an inactive slave and the SCL and SDA
buses drive signals are removed. The system
is kept in reset state until the CLEAR bit is writ-
ten to “0”.
2
C transaction, it acknowledg-
2
C interface.
2
C bus
2
C

Related parts for ST92196A