minix/drivers/usbd/include/usb/usbd_interface.h
Kees Jongenburger ed3391fd23 arm:adding the usbd source code.
Change-Id: Ia3c50a8c5e11bf20100354de266913112cc236f9

http://gerrit.minix3.org/#/c/2689/
2014-07-28 17:05:38 +02:00

24 lines
765 B
C
Executable file

/*
* Interface for USBD
*
* This file holds prototypes that must be implemented by platform
* specific USBD
*
* Must be implemented once per USBD but may be used for multiple
* controllers at a time when platform has more than one HCD
*/
#ifndef _USBD_INTERFACE_H_
#define _USBD_INTERFACE_H_
/*===========================================================================*
* Prototypes to be implemented *
*===========================================================================*/
/* Must set up HCDs in general and interrupts to
* be handled by DDEkit in particular */
int usbd_init_hcd(void);
/* Should clean whatever usbd_init_hcd used */
void usbd_deinit_hcd(void);
#endif /* !_USBD_INTERFACE_H_ */