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_DESC_BOOTLOADER_H__ 00019 #define USB_DESC_BOOTLOADER_H__ 00020 00021 #include "usb_desc.h" 00022 00023 #define USB_STRING_DESC_COUNT 2 00024 00025 typedef struct 00026 { 00027 usb_conf_desc_t conf; 00028 usb_if_desc_t if0; 00029 usb_ep_desc_t ep1in; 00030 usb_ep_desc_t ep1out; 00031 } usb_conf_desc_bootloader_t; 00032 00033 extern code usb_conf_desc_bootloader_t g_usb_conf_desc; 00034 extern code usb_dev_desc_t g_usb_dev_desc; 00035 extern code uint8_t g_usb_string_desc_1[]; 00036 extern code uint8_t g_usb_string_desc_2[]; 00037 extern code uint8_t string_zero[4]; 00038 00039 #endif // USB_DESC_TEMPL_H__