![FTDI FT51A Скачать руководство пользователя страница 49](http://html1.mh-extra.com/html/ftdi/ft51a/ft51a_application-note_2341158049.webp)
Application Note
AN_289 FT51A Programming Guide
Version 1.0
Document Reference No.: FT_000962 Clearance No.: FTDI# 483
48
Copyright © 2015 Future Technology Devices International Limited
The Own Address register sets the address that the I
2
C Slave will respond to. The most significant
7 bits of the address are set in this register. The least significant bit is ‘1’ for a read by the I
2
C
Master or ‘0’ for a write.
2.6.2
I2CSCR
The I
2
C Slave Control register is accessed only during a write operation. If this register is read
then it will return the value of the I2CSSR register.
Bit
Position
Bit Field Name
Type
Reset
Description
7
RSTB
W
0
Reset of I
2
C Slave function.
6
DA
W
0
Activate I
2
C Slave device.
5..4
Reserved
RFU
0
Reserved
3
RECFINCLR
W
0
Clear
RECFIN
bit in I2CSSR register.
2
SENDFINCLR
W
0
Clear
SENDFIN
bit in I2CSSR register.
1..0
Reserved
RFU
0
Reserved
Table 2.52 I
2
C Slave Control Register
The I
2
C Slave Control register provides top-level enables and reset functions for the I
2
C Slave
module. It allows the status of
RECFIN
and
SENDFIN
to be cleared in the I2CSSR (I
2
C Slave Status)
register.
2.6.3
I2CSSR
The I
2
C Slave Status register is accessed only during a read operation.
Bit
Position
Bit Field Name
Type
Reset
Description
7
Reserved
RFU
0
Reserved
6
DA
R
0
I
2
C Slave activated.
5
Reserved
RFU
0
Reserved
4
BUSACTIVE
R
0
Send, receive, or address detection in
progress.
This
bit
is
cleared
automatically at the end of a transfer.
3
RECFIN
R
0
The I
2
C Master has completed a
transmit operation. Cleared by writing
‘1’ to RECFINCLR in the I2CSCR
register.
2
SENDFIN
R
0
The I
2
C Master has completed a
receive operation. Cleared by writing
‘1’ to SENDFINCLR in the I2CSCR
register.