Copyright © 2006-2009 Atmel Corporation
The Two-wire Interface (TWI) interconnects components on a unique two-wire bus. The TWI is programmable as a master or a slave with sequential or single-byte access. Multiple master capability is supported.
This driver provides an API to get access to the main features of the TWIM controller.
Its "philosophy" of usage in single-master mode is:
The driver is composed of twim.c and twim.h (for accurate API description, read this header file).