2 \author EiNSTeiN_ <einstein@g3nius.org>
3 \brief Definitions for the Atmel 2-wire EEPROM application.
20 #define SETSDA SPIOUT |= SDA
21 #define CLRSDA SPIOUT &= ~SDA
22 #define SETSCL SPIOUT |= SCL
23 #define CLRSCL SPIOUT &= ~SCL
25 //! Set up the pins for SPI mode.
28 //! Read and write an SPI byte.
29 unsigned char twe_trans8(unsigned char byte);
31 //! Read a block to a buffer.
32 //~ void twe_peekblock(uint8_t const app,
33 //~ uint8_t const verb,
38 void twe_handle_fn( uint8_t const app,
42 extern app_t const twe_app;