Netcruzer Library API  V2.03
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
nz_usbHidDefs.h File Reference

Contains default defines for the Netcruzer USB HID interface. More...

Go to the source code of this file.

Data Structures

union  _USB_HID_BOOTLOADER_COMMAND
 

Macros

#define CMDUSB_DEBUG_MESSAGE   0x01
 
#define CMDUSB_COMMAND   0x02
 
#define CMDUSB_REQUEST_COMMAND   0x03
 
#define CMDUSB_DEVICE_INFO   0x10
 
#define CMDUSB_RESET_DEVICE   0x11
 
#define CMDUSB_SYNC   0xA5
 
#define IDLE_STATE   0x00
 
#define NOT_IDLE_STATE   0x01
 
#define TOTAL_PACKET_SIZE   64
 

Typedefs

typedef enum _BOARD_ID BOARD_ID
 
typedef union
_USB_HID_BOOTLOADER_COMMAND 
PacketToFromPC
 

Enumerations

enum  _BOARD_ID {
  BOARD_ID_UNKNOWN = 0, BOARD_ID_DEFAULT_DEBUG = 1, BOARD_ID_SBC66EC_CONFIG = 10, BOARD_ID_SBC66EC_MAIN_APP = 11,
  BOARD_ID_SBC66ECL_CONFIG = 20, BOARD_ID_SBC66ECL_MAIN_APP = 21, BOARD_ID_SBC66ZL_CONFIG = 30, BOARD_ID_SBC66ZL_MAIN_APP = 31,
  BOARD_ID_SBC66ZB_CONFIG = 40, BOARD_ID_SBC66ZB_MAIN_APP = 41, BOARD_ID_SBC66WL_CONFIG = 50, BOARD_ID_SBC66WL_MAIN_APP = 51,
  BOARD_ID_SBC66WB_CONFIG = 60, BOARD_ID_SBC66WB_MAIN_APP = 61, BOARD_ID_SBC32UL_CONFIG = 1000, BOARD_ID_SBC32UL_MAIN_APP = 1001
}
 

Detailed Description

Contains default defines for the Netcruzer USB HID interface.

Author
Modtronix Engineering
Compiler:
MPLAB XC16 Compiler

Description

Contains hardware specific defines for items NOT on boards.

Software License Agreement

The software supplied herewith is owned by Modtronix Engineering, and is protected under applicable copyright laws. The software supplied herewith is intended and supplied to you, the Company customer, for use solely and exclusively on products manufactured by Modtronix Engineering. The code may be modified and can be used free of charge for commercial and non commercial applications. All rights are reserved. Any use in violation of the foregoing restrictions may subject the user to criminal sanctions under applicable laws, as well as to civil liability for the breach of the terms and conditions of this license.

THIS SOFTWARE IS PROVIDED IN AN 'AS IS' CONDITION. NO WARRANTIES, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE. THE COMPANY SHALL NOT, IN ANY CIRCUMSTANCES, BE LIABLE FOR SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES, FOR ANY REASON WHATSOEVER.

File History

2012-08-06, David H. (DH):

  • Initial version