OTG.h File Reference

USB OTG mode definitions. More...

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

Defines

#define USB_OTG_SRP_VBUS   (1 << SRPSEL)
#define USB_OTG_STP_DATA   0

Functions

static void USB_OTG_Device_RequestHNP (void)
static void USB_OTG_Device_CancelHNPRequest (void)
static bool USB_OTG_Device_IsSendingHNP (void)
static void USB_OTG_Host_AcceptHNP (void)
static void USB_OTG_Host_RejectHNP (void)
static bool USB_OTG_Host_IsHNPReceived (void)
static void USB_OTG_Dev_InitiateSRP (uint8_t SRPTypeMask)

Detailed Description

This file contains structures, function prototypes and macros related to USB OTG mode, where two USB devices may be linked directly together and exchange host/device roles as needed.

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