abcminiuser / lufa

LUFA - the Lightweight USB Framework for AVRs.
http://www.lufa-lib.org
1.04k stars 325 forks source link

Add TWI Peripheral Driver for XMEGA #5

Closed jamuraa closed 11 years ago

jamuraa commented 11 years ago

I added a peripheral driver for the XMEGA platform. I've been using it with a XPlained A3BU for the last couple weeks and debugging / testing it with a MPU 9150, it seems to work.

I've tried to keep the same API as the AVR8, with the obvious addition of the TWI_t pointer to denote which twi bus to work on.

abcminiuser commented 11 years ago

Thanks Michael! I've integrated this into master for the next release.