Commit Graph

4 Commits

Author SHA1 Message Date
Dean Camera 7c57ad3858 Fix XMEGA TWI driver indentation and style to conform to the rest of the LUFA codebase. 2013-08-13 21:30:34 +02:00
Michael Janssen 6dd0447c12 Bugfixes with the protocol.
- Bitmasks need to be equal, not just result in non-zero
 - Only read status once in case it changes under us
 - Logical and not binary and when checking for acks on sending
 - We need to stop the bus when receiving the last byte
 - Force the bus into idle mode when we are Initing
2013-08-06 23:33:06 -05:00
Michael Janssen d557744503 Minor bugfixes / missed compile stuff. 2013-07-31 21:47:41 -05:00
Michael Janssen 2d21e36dd9 Add TWI Peripheral driver for XMEGA 2013-07-24 11:07:46 -05:00