A20 User Manual (Revision 1.2) Copyright © 2013 Allwinner Technology Co., Ltd. All Rights Reserved. Page 585 / 812
Register Name: TWI_SRST
Default Value: 0x0000_0000
SOFT_RST
Soft Reset
Write ‘1’ to this bit to reset the TWI and clear to ‘0’ when
completing Soft Reset operation.
6.2.4.7. TWI ENHANCE FEATURE REGISTER
Register Name: TWI_EFR
Default Value: 0x0000_0000
DBN
Data Byte number follow Read Command Control
No Data Byte to be wrote after read command
Only 1 byte data to be wrote after read command
2 bytes data can be wrote after read command
3 bytes data can be wrote after read command
6.2.4.8. TWI LINE CONTROL REGISTER
Register Name: TWI_LCR
Default Value: 0x0000_003a
SCL_STATE
Current state of TWI_SCL
0 – low
1 - high
SDA_STATE
Current state of TWI_SDA