mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-12-12 07:32:28 +00:00
9529ec2b4f
This allows to bringup the USB PHY and the HPM for the payload without having to initialize the CDC ACM driver at the same time. Signed-off-by: Sven Peter <sven@svenpeter.dev>
15 lines
229 B
C
15 lines
229 B
C
/* SPDX-License-Identifier: MIT */
|
|
|
|
#ifndef USB_H
|
|
#define USB_H
|
|
|
|
#include "types.h"
|
|
#include "usb_dwc3.h"
|
|
|
|
dwc3_dev_t *usb_bringup(u32 idx);
|
|
|
|
void usb_init(void);
|
|
void usb_iodev_init(void);
|
|
void usb_iodev_shutdown(void);
|
|
|
|
#endif
|