📄 app_descriptor.lst
字号:
AX51 MACRO ASSEMBLER APP_DESCRIPTOR 01/04/09 23:51:50 PAGE 1
MACRO ASSEMBLER AX51 V3.03c
OBJECT MODULE PLACED IN .\objects\app_descriptor.obj
ASSEMBLER INVOKED BY: d:\Keil\C51\BIN\AX51.EXE ..\..\..\..\..\INC\CHIPCON\srf04\app_descriptor.a51 SET(SMALL) DEBUG PRIN
T(.\listings\app_descriptor.lst) OBJECT(.\objects\app_descriptor.obj) EP
LOC OBJ LINE SOURCE
1 ;; DUMMY APPLICATION DESCRIPTOR
2
3
4 ;#include "app_descriptor.h"
+1 5
+1 6
+1 7
+1 8
+1 9
+1 10
+1 11
+1 12
+1 13
+1 14
+1 15
+1 16
+1 17
+1 18
+1 19
+1 20
+1 21
+1 22
+1 23
+1 24
+1 25
+1 26
+1 27
+1 28
+1 29
+1 30
+1 31
+1 32
+1 33
+1 34
+1 35
+1 36
+1 37
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
AX51 MACRO ASSEMBLER APP_DESCRIPTOR 01/04/09 23:51:50 PAGE 2
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1
+1 69
+1 70
+1 71
+1 72
+1 73
+1 74
+1 75
+1 76
+1 77
+1 78
+1 79
+1 80
+1 81
+1 82
+1 83
+1 84
+1 85
+1 86
+1 87
+1 88
+1 89
+1 90
+1 91
92
93
94
95 ;;--------------------------------------------------------------------------------------
-----------------
------ 96 appDescData SEGMENT CODE;
------ 97 RSEG appDescData;
98
99 ;; Dummy function which is called by the bootloader instead of chip detection and USB ev
ent handler
000000 100 DummyFunc:
000000 22 101 RET;
102
103 ;; Application descriptor + USB configuration, interface and endpoint descriptors
104 ; SmartRF04EB application descriptor
105 PUBLIC appDesc;
000001 DDDD 106 appDesc: DW 0DDDDH; ; Firmware ID (0400 for the standard SmartRF04EB
firmware)
000003 DDDD 107 DW 0DDDDH; ; Firmware revision
000005 0000 F 108 DW DummyFunc; ; Pointer to the chip detection function
000007 0000 F 109 DW DummyFunc; ; Pointer common USB interrupt handler
000009 0000 F 110 DW DummyFunc; ; Pointer to the USB vendor request handler
00000B 0000 F 111 DW DummyFunc; ; Pointer to the USB IN endpoint handler
00000D 0000 F 112 DW DummyFunc; ; Pointer to the chip detection function
113
00000F 114 usbConfigDesc: ; USB configuration descriptor
00000F 09 115 DB 09H; ; Length
000010 02 116 DB 02H; ; Type
000011 1200 117 DW 1200H; ; Totallength
000013 01 118 DB 01H; ; NumInterfaces
000014 01 119 DB 01H; ; bConfigurationValue
000015 00 120 DB 00H; ; iConfiguration
AX51 MACRO ASSEMBLER APP_DESCRIPTOR 01/04/09 23:51:50 PAGE 3
000016 40 121 DB 40H; ; bmAttributes
000017 32 122 DB 50; ; MaxPower
123
124 ; USB interface descriptor
000018 09 125 usbIfDesc: DB 09H; ; bLength
000019 04 126 DB 04H; ; bDescriptorType
00001A 00 127 DB 00H; ; bInterfaceNumber
00001B 00 128 DB 00H; ; bAlternateSetting
00001C 00 129 DB 00H; ; bNumEndpoints
00001D FF 130 DB 0FFH; ; bInterfaceClass
00001E FF 131 DB 0FFH; ; bInterfaceSubClass
00001F FF 132 DB 0FFH; ; bInterfaceProcotol
000020 00 133 DB 00H; ; iInterface
000021 134 appDescEnd:
135 ;;--------------------------------------------------------------------------------------
-----------------
136
137
138 ;;--------------------------------------------------------------------------------------
-----------------
139 ;; Magic word used by the bootloader
000846 140 CSEG AT 846H;
000846 E1 141 DB 0xE1;
000847 8C 142 DB 0x8C;
000848 64 143 DB 0x64;
000849 0000 F 144 DW appDesc;
145 ;;--------------------------------------------------------------------------------------
-----------------
146
147
148 END;
AX51 MACRO ASSEMBLER APP_DESCRIPTOR 01/04/09 23:51:50 PAGE 4
SYMBOL TABLE LISTING
------ ----- -------
N A M E T Y P E V A L U E ATTRIBUTES
APPDESC . . . . . . . . . . C ADDR 0001H R SEG=APPDESCDATA
APPDESCDATA . . . . . . . . C SEG 000021H REL=UNIT, ALN=BYTE
APPDESCEND. . . . . . . . . C ADDR 0021H R SEG=APPDESCDATA
DUMMYFUNC . . . . . . . . . C ADDR 0000H R SEG=APPDESCDATA
USBCONFIGDESC . . . . . . . C ADDR 000FH R SEG=APPDESCDATA
USBIFDESC . . . . . . . . . C ADDR 0018H R SEG=APPDESCDATA
REGISTER BANK(S) USED: 0
ASSEMBLY COMPLETE. 0 WARNING(S), 0 ERROR(S).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -