00001 /* Copyright (c) 2009 Nordic Semiconductor. All Rights Reserved. 00002 * 00003 * The information contained herein is confidential property of Nordic 00004 * Semiconductor ASA.Terms and conditions of usage are described in detail 00005 * in NORDIC SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. 00006 * 00007 * Licensees are granted free, non-transferable use of the information. NO 00008 * WARRENTY of ANY KIND is provided. This heading must NOT be removed from 00009 * the file. 00010 * 00011 * $LastChangedRevision: 133 $ 00012 */ 00013 00018 #ifndef USB_CMDS_H__ 00019 #define USB_CMDS_H__ 00020 00021 typedef enum 00022 { 00023 CMD_FIRMWARE_VERSION = 1, 00024 CMD_FLASH_WRITE_INIT, // Eigth 64 bytes bulk packets <- PC follow after this command 00025 CMD_FLASH_READ, 00026 CMD_FLASH_ERASE_PAGE, 00027 CMD_FLASH_SET_PROTECTED, 00028 CMD_FLASH_SELECT_HALF 00029 } usb_command_t; 00030 00031 #endif // USB_CMDS_H__