Move and rename DevChaper9.c/.h and HostChapter9.c/.h to the HighLevel directory, new named DeviceStandardReq.c/.h and HostStandardReq.c/.h.

Rename LowLevel.c/.h to USBController.c/.h.

Remove dependancies on the complete <avr/io.h> header in the HighLevel USB driver directory, to ensure less work is required in later (possible) ports.
This commit is contained in:
Dean Camera 2010-07-21 12:20:34 +00:00
parent 5f57785404
commit 99d8a39363
20 changed files with 72 additions and 53 deletions

View file

@ -42,22 +42,22 @@
#define __USBTASK_H__
/* Includes: */
#include <avr/io.h>
#include <avr/interrupt.h>
#include <stdint.h>
#include <stdbool.h>
#include "../LowLevel/LowLevel.h"
#include "../LowLevel/USBController.h"
#include "Events.h"
#include "StdRequestType.h"
#include "StdDescriptors.h"
#include "USBMode.h"
#if defined(USB_CAN_BE_DEVICE)
#include "../LowLevel/DevChapter9.h"
#include "DeviceStandardReq.h"
#endif
#if defined(USB_CAN_BE_HOST)
#include "../LowLevel/HostChapter9.h"
#include "HostStandardReq.h"
#endif
/* Enable C linkage for C++ Compilers: */