1 /*
2  * Interface for USBD
3  *
4  * This file holds prototypes that must be implemented by platform
5  * specific USBD
6  *
7  * Must be implemented once per USBD but may be used for multiple
8  * controllers at a time when platform has more than one HCD
9  */
10 
11 #ifndef _USBD_INTERFACE_H_
12 #define _USBD_INTERFACE_H_
13 
14 /*===========================================================================*
15  *    Prototypes to be implemented                                           *
16  *===========================================================================*/
17 /* Must set up HCDs in general and interrupts to
18  * be handled by DDEkit in particular */
19 int usbd_init_hcd(void);
20 
21 /* Should clean whatever usbd_init_hcd used */
22 void usbd_deinit_hcd(void);
23 
24 #endif /* !_USBD_INTERFACE_H_ */
25