m1n1/src/usb.h
Sven Peter 9529ec2b4f usb: add hpm_init and split usb_init and usb_iodev_init
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>
2021-06-09 19:45:38 +09:00

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