summaryrefslogtreecommitdiff
path: root/class/tmc/usbd_tmc.h
blob: ca17d0d67c1aa546db2bb1c0d3af748f389482c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (c) 2024, sakumisu
 *
 * SPDX-License-Identifier: Apache-2.0
 */
#ifndef USBD_TMC_H
#define USBD_TMC_H

#include "usb_tmc.h"
#include "scpi/scpi.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Init tmc interface driver */
struct usbd_interface *usbd_tmc_init_intf(uint8_t busid,
                                          struct usbd_interface *intf,
                                          const uint8_t out_ep, const uint8_t in_ep,
                                          const scpi_command_t *scpi_commands,
                                          const char **idn);

#ifdef __cplusplus
}
#endif

#endif /* USBD_TMC_H */