stepRocker servo Open Source TMCL
1.00
|
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"
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... | |
USB functions.
This file contains high level USB communication functions.
DeInitUSB | ( | void | ) |
Switch off USB interface.
This function switches off the USB interface and so detaches the module from USB.
InitUSB | ( | void | ) |
Initialize USB interface.
This function initializes the USB interface.
SendUSBReply | ( | UCHAR * | Reply | ) |
Send nine bytes via USB.
*Reply | Pointer to nine byte array |
This function sends nine byte (a TMCL reply) out via USB.