#ifndef _CORE_USBBITS_H_ /**** USED BY LUA **********************************************************************/
#define _CORE_USBBITS_H_

/****************************************************************************************************************/

#define USBRESET	0x558C		/* Vendor/Class specific reset						*/

#define USBGETINFO	0x558D		/* Return USB info structure						*/

#define USBSETINFO	0x558E		/* Configure VID/PID/vendor/product/serial (USB Device port only)	*/

#define USBTRACE	0x558F		/* Set/clear trace flag							*/

#define USBGETHID	0x5590		/* Return information about USB HID config (USB HID Device port only)	*/

#define USBSETHID	0x5591		/* Configure USB HID Device port driver					*/

#define USBSTART	0x5592		/* Make device visible to host (USB Device port only)			*/
#define USBSTOP		0x5593		/* Disconnect device from host (USB Device port only)			*/

/****************************************************************************************************************/
//
// Flags for usb_hid_config.flags
//
#define USBDEVHID_PACKETMODE	1	// Enable add/check of length byte prefix and CRC16 suffix

/****************************************************************************************************************/
#endif
