#include <avr/io.h>
#include <avr/pgmspace.h>
#include <avr/eeprom.h>
#include "../HighLevel/StdDescriptors.h"
#include "../HighLevel/Events.h"
#include "LowLevel.h"
#include "StdRequestType.h"
Functions | |
RAISES_EVENT (USB_UnhandledControlPacket) | |
RAISES_EVENT (USB_ConfigurationChanged) | |
RAISES_EVENT (USB_DeviceEnumerationComplete) | |
Variables | |
uint8_t | USB_ConfigurationNumber |
RAISES_EVENT | ( | USB_DeviceEnumerationComplete | ) |
This module raises the USB_DeviceEnumerationComplete event when the host has completed its enumeration of the device (i.e. when a REQ_SetConfiguration request changes the current configuration number from 0 to a non-zero value).
RAISES_EVENT | ( | USB_ConfigurationChanged | ) |
This module raises the USB_ConfigurationChanged event when the host issues a REQ_SetConfiguration device request, to change the currently selected configuration number.
RAISES_EVENT | ( | USB_UnhandledControlPacket | ) |
This module raises the USB_UnhandledControlPacket event when a request to the default control endpoint has been received, but the library does not implement an internal handler for it.
uint8_t USB_ConfigurationNumber |
Currently set configuration number of the device. USB devices may have several different configurations which the host can select between; this indicates the currently selected value, or 0 if no configuration has been selected.