stepRocker servo Open Source TMCL  1.00
 All Data Structures Files Functions Variables Typedefs Enumerations Macros
Functions
USB.c File Reference

USB functions. More...

#include "derivative.h"
#include "stepRocker.h"
#include "USB_CDC/CDC1.h"
#include "USB_CDC/USB0.h"
#include "USB_CDC/USB1.h"
#include "USB_CDC/Tx1.h"
#include "USB_CDC/Rx1.h"
#include "USB_CDC/usb_cdc.h"
Include dependency graph for USB.c:

Functions

void InitUSB (void)
 Initialize USB interface. More...
 
UCHAR GetUSBCmd (UCHAR *Cmd)
 
void SendUSBReply (UCHAR *Reply)
 Send nine bytes via USB. More...
 
void DeInitUSB (void)
 Switch off USB interface. More...
 

Detailed Description

USB functions.

Author
Trinamic Motion Control GmbH & Co KG
Version
2.20

This file contains high level USB communication functions.

Function Documentation

DeInitUSB ( void  )

Switch off USB interface.

This function switches off the USB interface and so detaches the module from USB.

Here is the caller graph for this function:

InitUSB ( void  )

Initialize USB interface.

This function initializes the USB interface.

Here is the caller graph for this function:

SendUSBReply ( UCHAR Reply)

Send nine bytes via USB.

Parameters
*ReplyPointer to nine byte array

This function sends nine byte (a TMCL reply) out via USB.

Here is the caller graph for this function: