stepRocker servo Open Source TMCL  1.00
 All Data Structures Files Functions Variables Typedefs Enumerations Macros
USB.h
Go to the documentation of this file.
1 /*******************************************************************************
2  Project: stepRocker Mini-TMCL (for stepRocker V2.2)
3 
4  Module: USB.h
5  Processing of TMCL commands
6 
7  Copyright (C) 2016 TRINAMIC Motion Control GmbH & Co KG
8  Waterloohain 5
9  D - 22769 Hamburg, Germany
10  http://www.trinamic.com/
11 
12  This program is free software; you can redistribute it and/or modify it
13  freely.
14 
15  This program is distributed "as is" in the hope that it will be useful, but
16  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17  or FITNESS FOR A PARTICULAR PURPOSE.
18 *******************************************************************************/
19 
30 #ifndef __USB_H
31 #define __USB_H
32 
33 void InitUSB(void);
34 UCHAR GetUSBCmd(UCHAR *Cmd);
35 void SendUSBReply(UCHAR *Reply);
36 void DeInitUSB(void);
37 
38 #endif
void SendUSBReply(UCHAR *Reply)
Send nine bytes via USB.
Definition: USB.c:87
void InitUSB(void)
Initialize USB interface.
Definition: USB.c:47
void DeInitUSB(void)
Switch off USB interface.
Definition: USB.c:100
unsigned char UCHAR
8 bits unsigned
Definition: stepRocker.h:31