Document # 001-20559 Rev. *D
95
0,D7h
13.2.45
I2C_SCR
I
2
C Status and Control Register
This register is used by both master and slave to control the flow of data bytes and to keep track of the bus state during a
transfer.
Bits in this register are held in reset until one of the enable bits in I2C_CFG is set. For additional information, refer to the
“Register Definitions” on page 298
in the I2C chapter
.
7
Bus Error
0
This status bit must be cleared by firmware by writing a ‘0’ to the bit position. It is never
cleared by the hardware.
1
A misplaced Start or Stop condition is detected.
6
Lost Arb
0
This bit is set immediately on lost arbitration; however, it does not cause an interrupt. This
status may be checked after the following Byte Complete interrupt. Any Start detect or a
write to the Start or Restart generate bits (I2C_MSCR register), when operating in Master
mode, also clears the bit.
1
Lost Arbitration.
5
Stop Status
0
This status bit must be cleared by firmware with write of ‘0’ to the bit position. It is never
cleared by the hardware.
1
A Stop condition is detected.
4
ACK
Acknowledge Out. This bit is automatically cleared by hardware on a Byte Complete event.
0
NACK the last received byte.
1
ACK the last received byte
3
Address
0
This status bit must be cleared by firmware with write of ‘0’ to the bit position.
1
The received byte is a slave address.
2
Transmit
Transmit bit is set by firmware to define the direction of the byte transfer. Any Start detect or a write to
the Start or Restart generate bits, when operating in Master mode, also clears the bit.
0
Receive mode
1
Transmit mode
1
LRB
Last Received Bit. The value of the 9th bit in a Transmit sequence, which is the Acknowledge bit from
the receiver. Any Start detect or a write to the Start or Restart generate bits, when operating in Master
mode, also clears the bit.
0
Last transmitted byte was ACK’ed by the receiver.
1
Last transmitted byte was NACK’ed by the receiver.
(continued on next page)
Individual Register Names and Addresses:
0,D7h
I2C_SCR: 0,D7h
7
6
5
4
3
2
1
0
Access : POR
RC : 0
RC : 0
RC : 0
RW : 0
RC : 0
RW : 0
RC : 0
RC : 0
Bit Name
Bus Error
Lost Arb
Stop Status
ACK
Address
Transmit
LRB
Byte Complete
Bit
Name
Description
Содержание PSoC CY8C23533
Страница 4: ...Contents Overview 4 Document 001 20559 Rev D Section G Glossary 385 Index 401 ...
Страница 16: ...Contents Overview 16 Document 001 20559 Rev D ...
Страница 24: ...24 Document 001 20559 Rev D Section A Overview ...
Страница 30: ...30 Document 001 20559 Rev D Pin Information ...
Страница 54: ...54 Document 001 20559 Rev D Supervisory ROM SROM ...
Страница 60: ...60 Document 001 20559 Rev D RAM Paging ...
Страница 68: ...68 Document 001 20559 Rev D Interrupt Controller ...
Страница 76: ...12 Document 001 20559 Rev D General Purpose IO GPIO ...
Страница 82: ...18 Document 001 20559 Rev D Internal Main Oscillator IMO ...
Страница 84: ...20 Document 001 20559 Rev D Internal Low Speed Oscillator ILO ...
Страница 90: ...26 Document 001 20559 Rev D External Crystal Oscillator ECO ...
Страница 94: ...30 Document 001 20559 Rev D Phase Locked Loop PLL ...
Страница 106: ...42 Document 001 20559 Rev D Sleep and Watchdog ...
Страница 228: ...164 Document 001 20559 Rev D Section D Digital System ...
Страница 234: ...170 Document 001 20559 Rev D Array Digital Interconnect ADI ...
Страница 278: ...214 Document 001 20559 Rev D Digital Blocks ...
Страница 296: ...232 Document 001 20559 Rev D Analog Interface ...
Страница 304: ...240 Document 001 20559 Rev D Analog Array ...
Страница 308: ...244 Document 001 20559 Rev D Analog Input Configuration ...
Страница 312: ...248 Document 001 20559 Rev D Analog Reference ...
Страница 338: ...274 Document 001 20559 Rev D Section F System Resources ...
Страница 354: ...290 Document 001 20559 Rev D Multiply Accumulate MAC ...
Страница 374: ...310 Document 001 20559 Rev D I2C ...
Страница 400: ...336 Document 001 20559 Rev D Section G Glossary ...