![Goodix GT911 Скачать руководство пользователя страница 19](http://html1.mh-extra.com/html/goodix/gt911/gt911_programming-manual_2243136019.webp)
GOODIX CONFIDENTIAL
Reproduction and/or distribution of this document in whole or in part is strictly prohibited without written consent of GOODIX.
19
[0x81A9] GT911_Status_Bak
Backup of GT911_Status. It is suggested that the host reads the GT911_Status and GT911_Status_Bak
simultaneously. Only when these two values are the same, can the status be considered valid, thus reducing
the interference to I2C bus which causes data errors.
3.5 Hotknot status registers
Addr
Access
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
0xAB10
R
SendStatus: Send status register
0xAB11
R
RevStatus: Receive status register
0xAB12
R
SendStatusBak: Send status register backup
0xAB13
R
RevStatusBak: Receive status register backup
…
R
NC (11 bytes reserved)
0xAB1F
R/W
When there is work needs to be handled by the host, GT911 will write
0xAA to this address and notify the host to handle the work via INT. After
the work is finished, the host sends another command other than 0xAA.
And GT911 will implement the command. Otherwise, it will wait for 2.5s.
Supplementary description on some registers:
The data read from this area is valid only when GT911 operates in Receive Mode or Send Mode, that is
to say, only when GT911_Status is 0xAA or 0xBB.
[0xAB10] SendStatus
This register indicates the Send status in Send Mode.
0x01: indicates GT911 is in idle state. When a data frame is transmitted successfully and there is no
data needs to be sent, GT911 will automatically switch to Receive Mode and perform Leave Detection. The
host sends the outgoing data to the hotknot Transmit Buffer in this state.
0x02: indicates GT911 is transmitting data. The host cannot modify the data in the Transmit Buffer in
this state.
0x03: all data in Transmit Buffer is transmitted successfully. GT911 notifies the host to process the data
via INT. After reading the status, the host writes a number other than 0xAA to 0xAB1F, then GT911 will
automatically switch to idle state and enter Receive Mode and perform Leave Detection.
0x04: The data sent by the host to the Transmit Buffer fails to pass the verification (incorrect or byte
length does not match). GT911 notifies the host to handle via INT. After reading the status, the host writes a
number other than 0xAA to 0xAB1F, and then resends the previously-issued data again.