STM32F4DoorControl/usb.h
2021-02-13 22:16:17 +01:00

15 lines
253 B
C

#ifndef USB_H
#define USB_H
#include <libopencm3/usb/usbd.h>
#include <stddef.h>
extern usbd_device *g_usbd_dev;
void usb_setup(void);
int usb_write_cdcacm(uint8_t acm, void *data, size_t len, int tries);
#define ACM_NFC 1
#define ACM_COMM 0
#endif