An I2C slave driver for Atmel Microcontrollers with the USI module
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
usi-i2cslave.c
usi-i2cslave.h

README.md

usi-i2cslave

An I2C slave driver for Atmel Microcontrollers with the USI module.

Adapted from the reference implemented provided by Atmel in AVR312. Heavy commented to make it easier to follow. Designed specifically for the attiny2313. If you want to use it for anything other than the attiny2313, you will need to modify the port definitions and interrupt vector definitions in the header file.