TWI.h File Reference

TWI peripheral driver for the U7, U6 and U4 USB AVRs. More...

#include "../../../Common/Common.h"
#include <avr/io.h>
#include <stdbool.h>
#include <util/twi.h>
#include <util/delay.h>

Functions

static void TWI_Init (void)
static void TWI_ShutDown (void)
static void TWI_StopTransmission (void)
static bool TWI_SendByte (uint8_t Byte)
static bool TWI_ReceiveByte (uint8_t *Byte, bool LastByte)
bool TWI_StartTransmission (uint8_t SlaveAddress, uint8_t TimeoutMS)

Detailed Description

Master mode TWI driver for the AT90USB1287, AT90USB1286, AT90USB647, AT90USB646, ATMEGA16U4 and ATMEGA32U4 AVRs.

Note:
This file should not be included directly. It is automatically included as needed by the TWI driver dispatch header located in LUFA/Drivers/Peripheral/TWI.h.
Generated by  doxygen 1.6.3