minix/minix/drivers/usb/usbd/include/usbd/usbd_interface.h
Wojciech Zajac 2d64210c1d Much USB code for ARM USB support
Written by JP Embedded.

Host controller (HCD), mass storage, and hub drivers.

Change-Id: I4237cf7aeb4a1c0205a1876593a9cc67ef3d577e
2014-08-29 18:52:49 +02:00

25 lines
765 B
C

/*
* 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_ */