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 TWIS controller.
Its "philosophy" of usage in slave mode is:
The driver is composed of twis.c and twis.h (for accurate API description, read this header file).