![NXP Semiconductors freescale semiconductor MC13211 Скачать руководство пользователя страница 332](http://html1.mh-extra.com/html/nxp-semiconductors/freescale-semiconductor-mc13211/freescale-semiconductor-mc13211_reference-manual_1722222332.webp)
Inter-Integrated Circuit (IIC)
MC1321x Reference Manual, Rev. 1.6
19-8
Freescale Semiconductor
19.4.6
IIC Status Register (IIC1S)
Offset
7
6
5
4
3
2
1
0
R
TCF
IAAS
BUSY
ARBL
0
SRW
IICIF
RXAK
W
Reset
1
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 19-5. IIC Status Register (IIC1S)
Table 19-7. IIC1S Register Field Descriptions
Field
Description
7
TCF
Transfer Complete Flag
— This bit is set on the completion of a byte transfer. Note that this bit is only valid
during or immediately following a transfer to the IIC module or from the IIC module.The TCF bit is cleared by
reading the IIC1D register in Receive Mode or writing to the IIC1D in Transmit Mode.
0 Transfer in progress.
1 Transfer complete.
6
IAAS
Addressed as a Slave
— The IAAS bit is set when its own specific address is matched with the calling address.
Writing the IIC1C register clears this bit.
0 Not addressed.
1 Addressed as a slave.
5
BUSY
Bus Busy
— The BUSY bit indicates the status of the bus regardless of Slave or Master Mode. The BUSY bit is
set when a START signal is detected and cleared when a STOP signal is detected.
0 Bus is idle.
1 Bus is busy.
4
ARBL
Arbitration Lost
— This bit is set by hardware when the arbitration procedure is lost. The ARBL bit must be
cleared by software, by writing a one to it.
0 Standard bus operation.
1 Loss of arbitration.
2
SRW
Slave Read/Write
— When addressed as a slave the SRW bit indicates the value of the R/W command bit of
the calling address sent to the master.
0 Slave receive, master writing to slave.
1 Slave transmit, master reading from slave.
1
IICIF
IIC Interrupt Flag
— The IICIF bit is set when an interrupt is pending. This bit must be cleared by software, by
writing a one to it in the interrupt routine. One of the following events can set the IICIF bit:
•
One byte transfer completes
•
Match of slave address to calling address
•
Arbitration lost
0 No interrupt pending.
1 Interrupt pending.
0
RXAK
Receive Acknowledge
— When the RXAK bit is low, it indicates an acknowledge signal has been received after
the completion of one byte of data transmission on the bus. If the RXAK bit is high it means that no acknowledge
signal is detected.
0 Acknowledge received.
1 No acknowledge received.
Содержание freescale semiconductor MC13211
Страница 40: ...MC1321x Pins and Connections MC1321x Reference Manual Rev 1 6 2 6 Freescale Semiconductor...
Страница 100: ...MC1321x Serial Peripheral Interface SPI MC1321x Reference Manual Rev 1 6 4 24 Freescale Semiconductor...
Страница 166: ...Modem Modes of Operation MC1321x Reference Manual Rev 1 6 7 22 Freescale Semiconductor...
Страница 172: ...Modem Interrupt Description MC1321x Reference Manual Rev 1 6 8 6 Freescale Semiconductor...
Страница 186: ...MCU Modes of Operation MC1321x Reference Manual Rev 1 6 10 8 Freescale Semiconductor...
Страница 208: ...MCU Memory MC1321x Reference Manual Rev 1 6 11 22 Freescale Semiconductor...
Страница 244: ...MCU Parallel Input Output MC1321x Reference Manual Rev 1 6 13 20 Freescale Semiconductor...
Страница 288: ...MCU Central Processor Unit CPU MC1321x Reference Manual Rev 1 6 15 20 Freescale Semiconductor...
Страница 308: ...MCU Timer PWM TPM Module MC1321x Reference Manual Rev 1 6 17 16 Freescale Semiconductor...
Страница 338: ...Inter Integrated Circuit IIC MC1321x Reference Manual Rev 1 6 19 14 Freescale Semiconductor...
Страница 372: ...Development Support MC1321x Reference Manual Rev 1 6 21 20 Freescale Semiconductor...