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 00023 #ifndef USB_MAP_H__ 00024 #define USB_MAP_H__ 00025 00026 #ifdef ALLOCATE_USB_MAP 00027 #define EXTERN 00028 #define _AT_ _at_ 00029 #else 00030 #define EXTERN extern 00031 #define _AT_ ;/ ## / 00032 #endif 00033 00034 #define USB_EP_DEFAULT_BUF_SIZE 0x20 // (32) 00035 00036 __no_init EXTERN xdata volatile uint8_t out5buf[USB_EP_DEFAULT_BUF_SIZE] _AT_ 0xC440; 00037 __no_init EXTERN xdata volatile uint8_t in5buf[USB_EP_DEFAULT_BUF_SIZE] _AT_ 0xC480; 00038 __no_init EXTERN xdata volatile uint8_t out4buf[USB_EP_DEFAULT_BUF_SIZE] _AT_ 0xC4C0; 00039 __no_init EXTERN xdata volatile uint8_t in4buf[USB_EP_DEFAULT_BUF_SIZE] _AT_ 0xC500; 00040 __no_init EXTERN xdata volatile uint8_t out3buf[USB_EP_DEFAULT_BUF_SIZE] _AT_ 0xC540; 00041 __no_init EXTERN xdata volatile uint8_t in3buf[USB_EP_DEFAULT_BUF_SIZE] _AT_ 0xC580; 00042 __no_init EXTERN xdata volatile uint8_t out2buf[USB_EP_DEFAULT_BUF_SIZE] _AT_ 0xC5C0; 00043 __no_init EXTERN xdata volatile uint8_t in2buf[USB_EP_DEFAULT_BUF_SIZE] _AT_ 0xC600; 00044 __no_init EXTERN xdata volatile uint8_t out1buf[USB_EP_DEFAULT_BUF_SIZE] _AT_ 0xC640; 00045 __no_init EXTERN xdata volatile uint8_t in1buf[USB_EP_DEFAULT_BUF_SIZE] _AT_ 0xC680; 00046 __no_init EXTERN xdata volatile uint8_t out0buf[USB_EP_DEFAULT_BUF_SIZE] _AT_ 0xC6C0; 00047 __no_init EXTERN xdata volatile uint8_t in0buf[USB_EP_DEFAULT_BUF_SIZE] _AT_ 0xC700; 00048 __no_init EXTERN xdata volatile uint8_t out8data _AT_ 0xC760; 00049 __no_init EXTERN xdata volatile uint8_t in8data _AT_ 0xC768; 00050 __no_init EXTERN xdata volatile uint8_t out8bch _AT_ 0xC770; 00051 __no_init EXTERN xdata volatile uint8_t out8bcl _AT_ 0xC771; 00052 __no_init EXTERN xdata volatile uint8_t bout1addr _AT_ 0xC781; 00053 __no_init EXTERN xdata volatile uint8_t bout2addr _AT_ 0xC782; 00054 __no_init EXTERN xdata volatile uint8_t bout3addr _AT_ 0xC783; 00055 __no_init EXTERN xdata volatile uint8_t bout4addr _AT_ 0xC784; 00056 __no_init EXTERN xdata volatile uint8_t bout5addr _AT_ 0xC785; 00057 __no_init EXTERN xdata volatile uint8_t binstaddr _AT_ 0xC788; 00058 __no_init EXTERN xdata volatile uint8_t bin1addr _AT_ 0xC789; 00059 __no_init EXTERN xdata volatile uint8_t bin2addr _AT_ 0xC78A; 00060 __no_init EXTERN xdata volatile uint8_t bin3addr _AT_ 0xC78B; 00061 __no_init EXTERN xdata volatile uint8_t bin4addr _AT_ 0xC78C; 00062 __no_init EXTERN xdata volatile uint8_t bin5addr _AT_ 0xC78D; 00063 __no_init EXTERN xdata volatile uint8_t isoerr _AT_ 0xC7A0; 00064 __no_init EXTERN xdata volatile uint8_t zbcout _AT_ 0xC7A2; 00065 __no_init EXTERN xdata volatile uint8_t ivec _AT_ 0xC7A8; 00066 __no_init EXTERN xdata volatile uint8_t in_irq _AT_ 0xC7A9; 00067 __no_init EXTERN xdata volatile uint8_t out_irq _AT_ 0xC7AA; 00068 __no_init EXTERN xdata volatile uint8_t usbirq _AT_ 0xC7AB; 00069 __no_init EXTERN xdata volatile uint8_t in_ien _AT_ 0xC7AC; 00070 __no_init EXTERN xdata volatile uint8_t out_ien _AT_ 0xC7AD; 00071 __no_init EXTERN xdata volatile uint8_t usbien _AT_ 0xC7AE; 00072 __no_init EXTERN xdata volatile uint8_t usbbav _AT_ 0xC7AF; 00073 __no_init EXTERN xdata volatile uint8_t ep0cs _AT_ 0xC7B4; 00074 __no_init EXTERN xdata volatile uint8_t in0bc _AT_ 0xC7B5; 00075 __no_init EXTERN xdata volatile uint8_t in1cs _AT_ 0xC7B6; 00076 __no_init EXTERN xdata volatile uint8_t in1bc _AT_ 0xC7B7; 00077 __no_init EXTERN xdata volatile uint8_t in2cs _AT_ 0xC7B8; 00078 __no_init EXTERN xdata volatile uint8_t in2bc _AT_ 0xC7B9; 00079 __no_init EXTERN xdata volatile uint8_t in3cs _AT_ 0xC7BA; 00080 __no_init EXTERN xdata volatile uint8_t in3bc _AT_ 0xC7BB; 00081 __no_init EXTERN xdata volatile uint8_t in4cs _AT_ 0xC7BC; 00082 __no_init EXTERN xdata volatile uint8_t in4bc _AT_ 0xC7BD; 00083 __no_init EXTERN xdata volatile uint8_t in5cs _AT_ 0xC7BE; 00084 __no_init EXTERN xdata volatile uint8_t in5bc _AT_ 0xC7BF; 00085 __no_init EXTERN xdata volatile uint8_t out0bc _AT_ 0xC7C5; 00086 __no_init EXTERN xdata volatile uint8_t out1cs _AT_ 0xC7C6; 00087 __no_init EXTERN xdata volatile uint8_t out1bc _AT_ 0xC7C7; 00088 __no_init EXTERN xdata volatile uint8_t out2cs _AT_ 0xC7C8; 00089 __no_init EXTERN xdata volatile uint8_t out2bc _AT_ 0xC7C9; 00090 __no_init EXTERN xdata volatile uint8_t out3cs _AT_ 0xC7CA; 00091 __no_init EXTERN xdata volatile uint8_t out3bc _AT_ 0xC7CB; 00092 __no_init EXTERN xdata volatile uint8_t out4cs _AT_ 0xC7CC; 00093 __no_init EXTERN xdata volatile uint8_t out4bc _AT_ 0xC7CD; 00094 __no_init EXTERN xdata volatile uint8_t out5cs _AT_ 0xC7CE; 00095 __no_init EXTERN xdata volatile uint8_t out5bc _AT_ 0xC7CF; 00096 __no_init EXTERN xdata volatile uint8_t usbcs _AT_ 0xC7D6; 00097 __no_init EXTERN xdata volatile uint8_t togctl _AT_ 0xC7D7; 00098 __no_init EXTERN xdata volatile uint8_t usbfrml _AT_ 0xC7D8; 00099 __no_init EXTERN xdata volatile uint8_t usbfrmh _AT_ 0xC7D9; 00100 __no_init EXTERN xdata volatile uint8_t fnaddr _AT_ 0xC7DB; 00101 __no_init EXTERN xdata volatile uint8_t usbpair _AT_ 0xC7DD; 00102 __no_init EXTERN xdata volatile uint8_t inbulkval _AT_ 0xC7DE; 00103 __no_init EXTERN xdata volatile uint8_t outbulkval _AT_ 0xC7DF; 00104 __no_init EXTERN xdata volatile uint8_t inisoval _AT_ 0xC7E0; 00105 __no_init EXTERN xdata volatile uint8_t outisoval _AT_ 0xC7E1; 00106 __no_init EXTERN xdata volatile uint8_t isostaddr _AT_ 0xC7E2; 00107 __no_init EXTERN xdata volatile uint8_t isosize _AT_ 0xC7E3; 00108 __no_init EXTERN xdata volatile uint8_t setupbuf[8] _AT_ 0xC7E8; 00109 __no_init EXTERN xdata volatile uint8_t out8addr _AT_ 0xC7F0; 00110 __no_init EXTERN xdata volatile uint8_t in8addr _AT_ 0xC7F8; 00111 00112 #endif