Brian Pearson / Mbed 2 deprecated LPC1768OpacityMeterUSB

Dependencies:   USBDevice mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers USBHIDProtocol.h Source File

USBHIDProtocol.h

00001 #ifndef USBHIDPROTOCOL_H_
00002 #define USBHIDPROTOCOL_H_
00003 /* Command list */
00004 // Devices verifies with same CMD and optional data
00005 
00006 // System commands
00007     #define CMD_SYS_CHECK               0x00    // Args: return version
00008     #define CMD_SYS_RESET               0xFF    // Args: bool softreset
00009 
00010     #define  CMD_GET_RAW_OPACITY        0x10
00011     #define  CMD_GET_FILTERED_OPACITY   0x11
00012     #define  CMD_GET_CALIB_FACTOR       0x12
00013     #define  CMD_SET_CALIB_FACTOR       0x13
00014     #define  CMD_GET_FILTER_MODE        0x14
00015     #define  CMD_SET_FILTER_MODE        0x15
00016     
00017 #endif //USBHIDPROTOCOL_H_
00018