Ver 1.3
PRELIMINARY
EAGLE
3.27
TWI Controller
Eagle has TWI Controller to general TWI bus interface. This controller has SCL(serial clock) and SDA(serial data).
3.27.1 Features
- Master transmit mode
- Master receive mode
- Slave transmit mode
- Slave receive mode
- Software programmable clock frequency
- Software programmable acknowledgement bit
- Interrupt driven data transfers
- Start/Stop/Repeated Start/Acknowledge generation
- Multi master operation
3.27.2 TWI Controller Block Diagram
APB Clock
SDA
SCL
Counter Register
Baud-rate Register
Control Register
START/STOP Condition
Generaion
Arbitration and
START/STOP Detection
Status Register
Address Compare
7-bit Address Register
TX/RX Data Regiseter
8-bit Address Shifter
8-bit Shifter
Figure 3-45 TWI Controller Block Diagram
193
CONFIDENTIAL
Beijing Peak Microtech Co.Ltd.