Inter-Integrated Circuit Peripherals
UG0331 User Guide Revision 15.0
552
15.4.2
Status Register
The following table describes the Status register of the I
2
C peripherals.
15.4.2.1 Status Register: Master-Transmitter Mode
Table 523 •
Status Register (STATUS)
Bit
Number Name
R/W
Reset
Value
Description
7:0
Status register
R
0XF8
The Status register is read-only. The status values depend on the mode of
operation. They are listed in
. Whenever there is a change of state, interrupt is requested.
After updating any registers, the APB interface control must clear the
interrupt by clearing the SI bit of the
register.
Table 524 •
Status Register – Master-Transmitter Mode
Status
Code
Status
Data Register
Action
Control Register Bits
Next Action Taken by Core
STA STO SI
AA
0x08
A START condition is
transmitted.
Load SLA+W
0
0
SLA+W is transmitted; ACK is received
0x10
A repeated START
condition is
transmitted.
Load SLA+W
0
0
SLA+W is transmitted; ACK is received
Load SLA+R
0
0
SLA+R is transmitted; Core is switched
to MST/REC mode.
0x18
SLA+W is transmitted;
ACK is received.
Load data byte
0
0
0
Data byte is transmitted; ACK is
received.
No action
1
0
0
Repeated START is transmitted
0
1
0
STOP condition is transmitted; STO
flag is reset.
1
1
0
STOP condition followed by a START
condition is transmitted; STO flag is
reset.
0x20
SLA+W is transmitted;
not ACK (NACK) is
received.
Load data byte
0
0
0
Data byte is transmitted; ACK is
received.
No action
1
0
0
Repeated START is transmitted
0
1
0
STOP condition is transmitted; STO
flag is reset.
1
1
0
STOP condition followed by a START
condition is transmitted; STO flag is
reset.
0x28
Data byte in Data
Register is
transmitted; ACK is
received.
Load data byte
0
0
0
Data byte is transmitted; ACK bit is
received.
No action
1
0
0
Repeated START is transmitted.
0
1
0
STOP condition is transmitted; STO
flag is reset.
1
1
0
STOP condition followed by a START
condition is transmitted; STO flag is
reset.
Содержание SmartFusion2 MSS
Страница 1: ...UG0331 User Guide SmartFusion2 Microcontroller Subsystem ...
Страница 166: ...Cortex M3 Processor Reference Material UG0331 User Guide Revision 15 0 132 ...
Страница 200: ...Embedded NVM eNVM Controllers UG0331 User Guide Revision 15 0 166 Figure 87 System Builder Window ...
Страница 407: ...Universal Serial Bus OTG Controller UG0331 User Guide Revision 15 0 373 ...
Страница 806: ...Fabric Interface Controller UG0331 User Guide Revision 15 0 772 Figure 345 FIC Master AHB Lite Subsystem ...