ed3391fd23
Change-Id: Ia3c50a8c5e11bf20100354de266913112cc236f9 http://gerrit.minix3.org/#/c/2689/
24 lines
765 B
C
Executable file
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_ */
|