1 ;-------------------------------------------------------- 2 ; File Created by SDCC : free open source ANSI-C Compiler 3 ; Version 3.0.0 #6037 (Oct 31 2010) (Linux) 4 ; This file was generated Sun Feb 26 03:56:09 2012 5 ;-------------------------------------------------------- 6 .module radio_link 7 .optsdcc -mmcs51 --model-medium 8 9 ;-------------------------------------------------------- 10 ; Public variables in this module 11 ;-------------------------------------------------------- 12 .globl _param_radio_channel 13 .globl _shortTxPacket 14 .globl _radioLinkActivityOccurred 15 .globl _radioLinkResetPacketReceived 16 .globl _radioLinkTxCurrentPacketTries 17 .globl _radioLinkTxInterruptIndex 18 .globl _radioLinkTxMainLoopIndex 19 .globl _radioLinkRxInterruptIndex 20 .globl _radioLinkRxMainLoopIndex 21 .globl _radioLinkInit 22 .globl _radioLinkConnected 23 .globl _radioLinkTxAvailable 24 .globl _radioLinkTxQueued 25 .globl _radioLinkTxCurrentPacket 26 .globl _radioLinkTxSendPacket 27 .globl _radioLinkRxCurrentPacket 28 .globl _radioLinkRxCurrentPayloadType 29 .globl _radioLinkRxDoneWithPacket 30 .globl _radioMacEventHandler 31 ;-------------------------------------------------------- 32 ; special function registers 33 ;-------------------------------------------------------- 34 .area RSEG (ABS,DATA) 0000 35 .org 0x0000 0080 36 Fradio_link$P0$0$0 == 0x0080 0080 37 _P0 = 0x0080 0081 38 Fradio_link$SP$0$0 == 0x0081 0081 39 _SP = 0x0081 0082 40 Fradio_link$DPL0$0$0 == 0x0082 0082 41 _DPL0 = 0x0082 0083 42 Fradio_link$DPH0$0$0 == 0x0083 0083 43 _DPH0 = 0x0083 0084 44 Fradio_link$DPL1$0$0 == 0x0084 0084 45 _DPL1 = 0x0084 0085 46 Fradio_link$DPH1$0$0 == 0x0085 0085 47 _DPH1 = 0x0085 0086 48 Fradio_link$U0CSR$0$0 == 0x0086 0086 49 _U0CSR = 0x0086 0087 50 Fradio_link$PCON$0$0 == 0x0087 0087 51 _PCON = 0x0087 0088 52 Fradio_link$TCON$0$0 == 0x0088 0088 53 _TCON = 0x0088 0089 54 Fradio_link$P0IFG$0$0 == 0x0089 0089 55 _P0IFG = 0x0089 008A 56 Fradio_link$P1IFG$0$0 == 0x008a 008A 57 _P1IFG = 0x008a 008B 58 Fradio_link$P2IFG$0$0 == 0x008b 008B 59 _P2IFG = 0x008b 008C 60 Fradio_link$PICTL$0$0 == 0x008c 008C 61 _PICTL = 0x008c 008D 62 Fradio_link$P1IEN$0$0 == 0x008d 008D 63 _P1IEN = 0x008d 008F 64 Fradio_link$P0INP$0$0 == 0x008f 008F 65 _P0INP = 0x008f 0090 66 Fradio_link$P1$0$0 == 0x0090 0090 67 _P1 = 0x0090 0091 68 Fradio_link$RFIM$0$0 == 0x0091 0091 69 _RFIM = 0x0091 0092 70 Fradio_link$DPS$0$0 == 0x0092 0092 71 _DPS = 0x0092 0093 72 Fradio_link$MPAGE$0$0 == 0x0093 0093 73 _MPAGE = 0x0093 0095 74 Fradio_link$ENDIAN$0$0 == 0x0095 0095 75 _ENDIAN = 0x0095 0098 76 Fradio_link$S0CON$0$0 == 0x0098 0098 77 _S0CON = 0x0098 009A 78 Fradio_link$IEN2$0$0 == 0x009a 009A 79 _IEN2 = 0x009a 009B 80 Fradio_link$S1CON$0$0 == 0x009b 009B 81 _S1CON = 0x009b 009C 82 Fradio_link$T2CT$0$0 == 0x009c 009C 83 _T2CT = 0x009c 009D 84 Fradio_link$T2PR$0$0 == 0x009d 009D 85 _T2PR = 0x009d 009E 86 Fradio_link$T2CTL$0$0 == 0x009e 009E 87 _T2CTL = 0x009e 00A0 88 Fradio_link$P2$0$0 == 0x00a0 00A0 89 _P2 = 0x00a0 00A1 90 Fradio_link$WORIRQ$0$0 == 0x00a1 00A1 91 _WORIRQ = 0x00a1 00A2 92 Fradio_link$WORCTRL$0$0 == 0x00a2 00A2 93 _WORCTRL = 0x00a2 00A3 94 Fradio_link$WOREVT0$0$0 == 0x00a3 00A3 95 _WOREVT0 = 0x00a3 00A4 96 Fradio_link$WOREVT1$0$0 == 0x00a4 00A4 97 _WOREVT1 = 0x00a4 00A5 98 Fradio_link$WORTIME0$0$0 == 0x00a5 00A5 99 _WORTIME0 = 0x00a5 00A6 100 Fradio_link$WORTIME1$0$0 == 0x00a6 00A6 101 _WORTIME1 = 0x00a6 00A8 102 Fradio_link$IEN0$0$0 == 0x00a8 00A8 103 _IEN0 = 0x00a8 00A9 104 Fradio_link$IP0$0$0 == 0x00a9 00A9 105 _IP0 = 0x00a9 00AB 106 Fradio_link$FWT$0$0 == 0x00ab 00AB 107 _FWT = 0x00ab 00AC 108 Fradio_link$FADDRL$0$0 == 0x00ac 00AC 109 _FADDRL = 0x00ac 00AD 110 Fradio_link$FADDRH$0$0 == 0x00ad 00AD 111 _FADDRH = 0x00ad 00AE 112 Fradio_link$FCTL$0$0 == 0x00ae 00AE 113 _FCTL = 0x00ae 00AF 114 Fradio_link$FWDATA$0$0 == 0x00af 00AF 115 _FWDATA = 0x00af 00B1 116 Fradio_link$ENCDI$0$0 == 0x00b1 00B1 117 _ENCDI = 0x00b1 00B2 118 Fradio_link$ENCDO$0$0 == 0x00b2 00B2 119 _ENCDO = 0x00b2 00B3 120 Fradio_link$ENCCS$0$0 == 0x00b3 00B3 121 _ENCCS = 0x00b3 00B4 122 Fradio_link$ADCCON1$0$0 == 0x00b4 00B4 123 _ADCCON1 = 0x00b4 00B5 124 Fradio_link$ADCCON2$0$0 == 0x00b5 00B5 125 _ADCCON2 = 0x00b5 00B6 126 Fradio_link$ADCCON3$0$0 == 0x00b6 00B6 127 _ADCCON3 = 0x00b6 00B8 128 Fradio_link$IEN1$0$0 == 0x00b8 00B8 129 _IEN1 = 0x00b8 00B9 130 Fradio_link$IP1$0$0 == 0x00b9 00B9 131 _IP1 = 0x00b9 00BA 132 Fradio_link$ADCL$0$0 == 0x00ba 00BA 133 _ADCL = 0x00ba 00BB 134 Fradio_link$ADCH$0$0 == 0x00bb 00BB 135 _ADCH = 0x00bb 00BC 136 Fradio_link$RNDL$0$0 == 0x00bc 00BC 137 _RNDL = 0x00bc 00BD 138 Fradio_link$RNDH$0$0 == 0x00bd 00BD 139 _RNDH = 0x00bd 00BE 140 Fradio_link$SLEEP$0$0 == 0x00be 00BE 141 _SLEEP = 0x00be 00C0 142 Fradio_link$IRCON$0$0 == 0x00c0 00C0 143 _IRCON = 0x00c0 00C1 144 Fradio_link$U0DBUF$0$0 == 0x00c1 00C1 145 _U0DBUF = 0x00c1 00C2 146 Fradio_link$U0BAUD$0$0 == 0x00c2 00C2 147 _U0BAUD = 0x00c2 00C4 148 Fradio_link$U0UCR$0$0 == 0x00c4 00C4 149 _U0UCR = 0x00c4 00C5 150 Fradio_link$U0GCR$0$0 == 0x00c5 00C5 151 _U0GCR = 0x00c5 00C6 152 Fradio_link$CLKCON$0$0 == 0x00c6 00C6 153 _CLKCON = 0x00c6 00C7 154 Fradio_link$MEMCTR$0$0 == 0x00c7 00C7 155 _MEMCTR = 0x00c7 00C9 156 Fradio_link$WDCTL$0$0 == 0x00c9 00C9 157 _WDCTL = 0x00c9 00CA 158 Fradio_link$T3CNT$0$0 == 0x00ca 00CA 159 _T3CNT = 0x00ca 00CB 160 Fradio_link$T3CTL$0$0 == 0x00cb 00CB 161 _T3CTL = 0x00cb 00CC 162 Fradio_link$T3CCTL0$0$0 == 0x00cc 00CC 163 _T3CCTL0 = 0x00cc 00CD 164 Fradio_link$T3CC0$0$0 == 0x00cd 00CD 165 _T3CC0 = 0x00cd 00CE 166 Fradio_link$T3CCTL1$0$0 == 0x00ce 00CE 167 _T3CCTL1 = 0x00ce 00CF 168 Fradio_link$T3CC1$0$0 == 0x00cf 00CF 169 _T3CC1 = 0x00cf 00D0 170 Fradio_link$PSW$0$0 == 0x00d0 00D0 171 _PSW = 0x00d0 00D1 172 Fradio_link$DMAIRQ$0$0 == 0x00d1 00D1 173 _DMAIRQ = 0x00d1 00D2 174 Fradio_link$DMA1CFGL$0$0 == 0x00d2 00D2 175 _DMA1CFGL = 0x00d2 00D3 176 Fradio_link$DMA1CFGH$0$0 == 0x00d3 00D3 177 _DMA1CFGH = 0x00d3 00D4 178 Fradio_link$DMA0CFGL$0$0 == 0x00d4 00D4 179 _DMA0CFGL = 0x00d4 00D5 180 Fradio_link$DMA0CFGH$0$0 == 0x00d5 00D5 181 _DMA0CFGH = 0x00d5 00D6 182 Fradio_link$DMAARM$0$0 == 0x00d6 00D6 183 _DMAARM = 0x00d6 00D7 184 Fradio_link$DMAREQ$0$0 == 0x00d7 00D7 185 _DMAREQ = 0x00d7 00D8 186 Fradio_link$TIMIF$0$0 == 0x00d8 00D8 187 _TIMIF = 0x00d8 00D9 188 Fradio_link$RFD$0$0 == 0x00d9 00D9 189 _RFD = 0x00d9 00DA 190 Fradio_link$T1CC0L$0$0 == 0x00da 00DA 191 _T1CC0L = 0x00da 00DB 192 Fradio_link$T1CC0H$0$0 == 0x00db 00DB 193 _T1CC0H = 0x00db 00DC 194 Fradio_link$T1CC1L$0$0 == 0x00dc 00DC 195 _T1CC1L = 0x00dc 00DD 196 Fradio_link$T1CC1H$0$0 == 0x00dd 00DD 197 _T1CC1H = 0x00dd 00DE 198 Fradio_link$T1CC2L$0$0 == 0x00de 00DE 199 _T1CC2L = 0x00de 00DF 200 Fradio_link$T1CC2H$0$0 == 0x00df 00DF 201 _T1CC2H = 0x00df 00E0 202 Fradio_link$ACC$0$0 == 0x00e0 00E0 203 _ACC = 0x00e0 00E1 204 Fradio_link$RFST$0$0 == 0x00e1 00E1 205 _RFST = 0x00e1 00E2 206 Fradio_link$T1CNTL$0$0 == 0x00e2 00E2 207 _T1CNTL = 0x00e2 00E3 208 Fradio_link$T1CNTH$0$0 == 0x00e3 00E3 209 _T1CNTH = 0x00e3 00E4 210 Fradio_link$T1CTL$0$0 == 0x00e4 00E4 211 _T1CTL = 0x00e4 00E5 212 Fradio_link$T1CCTL0$0$0 == 0x00e5 00E5 213 _T1CCTL0 = 0x00e5 00E6 214 Fradio_link$T1CCTL1$0$0 == 0x00e6 00E6 215 _T1CCTL1 = 0x00e6 00E7 216 Fradio_link$T1CCTL2$0$0 == 0x00e7 00E7 217 _T1CCTL2 = 0x00e7 00E8 218 Fradio_link$IRCON2$0$0 == 0x00e8 00E8 219 _IRCON2 = 0x00e8 00E9 220 Fradio_link$RFIF$0$0 == 0x00e9 00E9 221 _RFIF = 0x00e9 00EA 222 Fradio_link$T4CNT$0$0 == 0x00ea 00EA 223 _T4CNT = 0x00ea 00EB 224 Fradio_link$T4CTL$0$0 == 0x00eb 00EB 225 _T4CTL = 0x00eb 00EC 226 Fradio_link$T4CCTL0$0$0 == 0x00ec 00EC 227 _T4CCTL0 = 0x00ec 00ED 228 Fradio_link$T4CC0$0$0 == 0x00ed 00ED 229 _T4CC0 = 0x00ed 00EE 230 Fradio_link$T4CCTL1$0$0 == 0x00ee 00EE 231 _T4CCTL1 = 0x00ee 00EF 232 Fradio_link$T4CC1$0$0 == 0x00ef 00EF 233 _T4CC1 = 0x00ef 00F0 234 Fradio_link$B$0$0 == 0x00f0 00F0 235 _B = 0x00f0 00F1 236 Fradio_link$PERCFG$0$0 == 0x00f1 00F1 237 _PERCFG = 0x00f1 00F2 238 Fradio_link$ADCCFG$0$0 == 0x00f2 00F2 239 _ADCCFG = 0x00f2 00F3 240 Fradio_link$P0SEL$0$0 == 0x00f3 00F3 241 _P0SEL = 0x00f3 00F4 242 Fradio_link$P1SEL$0$0 == 0x00f4 00F4 243 _P1SEL = 0x00f4 00F5 244 Fradio_link$P2SEL$0$0 == 0x00f5 00F5 245 _P2SEL = 0x00f5 00F6 246 Fradio_link$P1INP$0$0 == 0x00f6 00F6 247 _P1INP = 0x00f6 00F7 248 Fradio_link$P2INP$0$0 == 0x00f7 00F7 249 _P2INP = 0x00f7 00F8 250 Fradio_link$U1CSR$0$0 == 0x00f8 00F8 251 _U1CSR = 0x00f8 00F9 252 Fradio_link$U1DBUF$0$0 == 0x00f9 00F9 253 _U1DBUF = 0x00f9 00FA 254 Fradio_link$U1BAUD$0$0 == 0x00fa 00FA 255 _U1BAUD = 0x00fa 00FB 256 Fradio_link$U1UCR$0$0 == 0x00fb 00FB 257 _U1UCR = 0x00fb 00FC 258 Fradio_link$U1GCR$0$0 == 0x00fc 00FC 259 _U1GCR = 0x00fc 00FD 260 Fradio_link$P0DIR$0$0 == 0x00fd 00FD 261 _P0DIR = 0x00fd 00FE 262 Fradio_link$P1DIR$0$0 == 0x00fe 00FE 263 _P1DIR = 0x00fe 00FF 264 Fradio_link$P2DIR$0$0 == 0x00ff 00FF 265 _P2DIR = 0x00ff FFFFD5D4 266 Fradio_link$DMA0CFG$0$0 == 0xffffd5d4 FFFFD5D4 267 _DMA0CFG = 0xffffd5d4 FFFFD3D2 268 Fradio_link$DMA1CFG$0$0 == 0xffffd3d2 FFFFD3D2 269 _DMA1CFG = 0xffffd3d2 FFFFADAC 270 Fradio_link$FADDR$0$0 == 0xffffadac FFFFADAC 271 _FADDR = 0xffffadac FFFFBBBA 272 Fradio_link$ADC$0$0 == 0xffffbbba FFFFBBBA 273 _ADC = 0xffffbbba FFFFDBDA 274 Fradio_link$T1CC0$0$0 == 0xffffdbda FFFFDBDA 275 _T1CC0 = 0xffffdbda FFFFDDDC 276 Fradio_link$T1CC1$0$0 == 0xffffdddc FFFFDDDC 277 _T1CC1 = 0xffffdddc FFFFDFDE 278 Fradio_link$T1CC2$0$0 == 0xffffdfde FFFFDFDE 279 _T1CC2 = 0xffffdfde 280 ;-------------------------------------------------------- 281 ; special function bits 282 ;-------------------------------------------------------- 283 .area RSEG (ABS,DATA) 0000 284 .org 0x0000 0080 285 Fradio_link$P0_0$0$0 == 0x0080 0080 286 _P0_0 = 0x0080 0081 287 Fradio_link$P0_1$0$0 == 0x0081 0081 288 _P0_1 = 0x0081 0082 289 Fradio_link$P0_2$0$0 == 0x0082 0082 290 _P0_2 = 0x0082 0083 291 Fradio_link$P0_3$0$0 == 0x0083 0083 292 _P0_3 = 0x0083 0084 293 Fradio_link$P0_4$0$0 == 0x0084 0084 294 _P0_4 = 0x0084 0085 295 Fradio_link$P0_5$0$0 == 0x0085 0085 296 _P0_5 = 0x0085 0086 297 Fradio_link$P0_6$0$0 == 0x0086 0086 298 _P0_6 = 0x0086 0087 299 Fradio_link$P0_7$0$0 == 0x0087 0087 300 _P0_7 = 0x0087 0088 301 Fradio_link$_TCON_0$0$0 == 0x0088 0088 302 __TCON_0 = 0x0088 0089 303 Fradio_link$RFTXRXIF$0$0 == 0x0089 0089 304 _RFTXRXIF = 0x0089 008A 305 Fradio_link$_TCON_2$0$0 == 0x008a 008A 306 __TCON_2 = 0x008a 008B 307 Fradio_link$URX0IF$0$0 == 0x008b 008B 308 _URX0IF = 0x008b 008C 309 Fradio_link$_TCON_4$0$0 == 0x008c 008C 310 __TCON_4 = 0x008c 008D 311 Fradio_link$ADCIF$0$0 == 0x008d 008D 312 _ADCIF = 0x008d 008E 313 Fradio_link$_TCON_6$0$0 == 0x008e 008E 314 __TCON_6 = 0x008e 008F 315 Fradio_link$URX1IF$0$0 == 0x008f 008F 316 _URX1IF = 0x008f 0090 317 Fradio_link$P1_0$0$0 == 0x0090 0090 318 _P1_0 = 0x0090 0091 319 Fradio_link$P1_1$0$0 == 0x0091 0091 320 _P1_1 = 0x0091 0092 321 Fradio_link$P1_2$0$0 == 0x0092 0092 322 _P1_2 = 0x0092 0093 323 Fradio_link$P1_3$0$0 == 0x0093 0093 324 _P1_3 = 0x0093 0094 325 Fradio_link$P1_4$0$0 == 0x0094 0094 326 _P1_4 = 0x0094 0095 327 Fradio_link$P1_5$0$0 == 0x0095 0095 328 _P1_5 = 0x0095 0096 329 Fradio_link$P1_6$0$0 == 0x0096 0096 330 _P1_6 = 0x0096 0097 331 Fradio_link$P1_7$0$0 == 0x0097 0097 332 _P1_7 = 0x0097 0098 333 Fradio_link$ENCIF_0$0$0 == 0x0098 0098 334 _ENCIF_0 = 0x0098 0099 335 Fradio_link$ENCIF_1$0$0 == 0x0099 0099 336 _ENCIF_1 = 0x0099 009A 337 Fradio_link$_SOCON2$0$0 == 0x009a 009A 338 __SOCON2 = 0x009a 009B 339 Fradio_link$_SOCON3$0$0 == 0x009b 009B 340 __SOCON3 = 0x009b 009C 341 Fradio_link$_SOCON4$0$0 == 0x009c 009C 342 __SOCON4 = 0x009c 009D 343 Fradio_link$_SOCON5$0$0 == 0x009d 009D 344 __SOCON5 = 0x009d 009E 345 Fradio_link$_SOCON6$0$0 == 0x009e 009E 346 __SOCON6 = 0x009e 009F 347 Fradio_link$_SOCON7$0$0 == 0x009f 009F 348 __SOCON7 = 0x009f 00A0 349 Fradio_link$P2_0$0$0 == 0x00a0 00A0 350 _P2_0 = 0x00a0 00A1 351 Fradio_link$P2_1$0$0 == 0x00a1 00A1 352 _P2_1 = 0x00a1 00A2 353 Fradio_link$P2_2$0$0 == 0x00a2 00A2 354 _P2_2 = 0x00a2 00A3 355 Fradio_link$P2_3$0$0 == 0x00a3 00A3 356 _P2_3 = 0x00a3 00A4 357 Fradio_link$P2_4$0$0 == 0x00a4 00A4 358 _P2_4 = 0x00a4 00A5 359 Fradio_link$P2_5$0$0 == 0x00a5 00A5 360 _P2_5 = 0x00a5 00A6 361 Fradio_link$P2_6$0$0 == 0x00a6 00A6 362 _P2_6 = 0x00a6 00A7 363 Fradio_link$P2_7$0$0 == 0x00a7 00A7 364 _P2_7 = 0x00a7 00A8 365 Fradio_link$RFTXRXIE$0$0 == 0x00a8 00A8 366 _RFTXRXIE = 0x00a8 00A9 367 Fradio_link$ADCIE$0$0 == 0x00a9 00A9 368 _ADCIE = 0x00a9 00AA 369 Fradio_link$URX0IE$0$0 == 0x00aa 00AA 370 _URX0IE = 0x00aa 00AB 371 Fradio_link$URX1IE$0$0 == 0x00ab 00AB 372 _URX1IE = 0x00ab 00AC 373 Fradio_link$ENCIE$0$0 == 0x00ac 00AC 374 _ENCIE = 0x00ac 00AD 375 Fradio_link$STIE$0$0 == 0x00ad 00AD 376 _STIE = 0x00ad 00AE 377 Fradio_link$_IEN06$0$0 == 0x00ae 00AE 378 __IEN06 = 0x00ae 00AF 379 Fradio_link$EA$0$0 == 0x00af 00AF 380 _EA = 0x00af 00B8 381 Fradio_link$DMAIE$0$0 == 0x00b8 00B8 382 _DMAIE = 0x00b8 00B9 383 Fradio_link$T1IE$0$0 == 0x00b9 00B9 384 _T1IE = 0x00b9 00BA 385 Fradio_link$T2IE$0$0 == 0x00ba 00BA 386 _T2IE = 0x00ba 00BB 387 Fradio_link$T3IE$0$0 == 0x00bb 00BB 388 _T3IE = 0x00bb 00BC 389 Fradio_link$T4IE$0$0 == 0x00bc 00BC 390 _T4IE = 0x00bc 00BD 391 Fradio_link$P0IE$0$0 == 0x00bd 00BD 392 _P0IE = 0x00bd 00BE 393 Fradio_link$_IEN16$0$0 == 0x00be 00BE 394 __IEN16 = 0x00be 00BF 395 Fradio_link$_IEN17$0$0 == 0x00bf 00BF 396 __IEN17 = 0x00bf 00C0 397 Fradio_link$DMAIF$0$0 == 0x00c0 00C0 398 _DMAIF = 0x00c0 00C1 399 Fradio_link$T1IF$0$0 == 0x00c1 00C1 400 _T1IF = 0x00c1 00C2 401 Fradio_link$T2IF$0$0 == 0x00c2 00C2 402 _T2IF = 0x00c2 00C3 403 Fradio_link$T3IF$0$0 == 0x00c3 00C3 404 _T3IF = 0x00c3 00C4 405 Fradio_link$T4IF$0$0 == 0x00c4 00C4 406 _T4IF = 0x00c4 00C5 407 Fradio_link$P0IF$0$0 == 0x00c5 00C5 408 _P0IF = 0x00c5 00C6 409 Fradio_link$_IRCON6$0$0 == 0x00c6 00C6 410 __IRCON6 = 0x00c6 00C7 411 Fradio_link$STIF$0$0 == 0x00c7 00C7 412 _STIF = 0x00c7 00D0 413 Fradio_link$P$0$0 == 0x00d0 00D0 414 _P = 0x00d0 00D1 415 Fradio_link$F1$0$0 == 0x00d1 00D1 416 _F1 = 0x00d1 00D2 417 Fradio_link$OV$0$0 == 0x00d2 00D2 418 _OV = 0x00d2 00D3 419 Fradio_link$RS0$0$0 == 0x00d3 00D3 420 _RS0 = 0x00d3 00D4 421 Fradio_link$RS1$0$0 == 0x00d4 00D4 422 _RS1 = 0x00d4 00D5 423 Fradio_link$F0$0$0 == 0x00d5 00D5 424 _F0 = 0x00d5 00D6 425 Fradio_link$AC$0$0 == 0x00d6 00D6 426 _AC = 0x00d6 00D7 427 Fradio_link$CY$0$0 == 0x00d7 00D7 428 _CY = 0x00d7 00D8 429 Fradio_link$T3OVFIF$0$0 == 0x00d8 00D8 430 _T3OVFIF = 0x00d8 00D9 431 Fradio_link$T3CH0IF$0$0 == 0x00d9 00D9 432 _T3CH0IF = 0x00d9 00DA 433 Fradio_link$T3CH1IF$0$0 == 0x00da 00DA 434 _T3CH1IF = 0x00da 00DB 435 Fradio_link$T4OVFIF$0$0 == 0x00db 00DB 436 _T4OVFIF = 0x00db 00DC 437 Fradio_link$T4CH0IF$0$0 == 0x00dc 00DC 438 _T4CH0IF = 0x00dc 00DD 439 Fradio_link$T4CH1IF$0$0 == 0x00dd 00DD 440 _T4CH1IF = 0x00dd 00DE 441 Fradio_link$OVFIM$0$0 == 0x00de 00DE 442 _OVFIM = 0x00de 00DF 443 Fradio_link$_TIMIF7$0$0 == 0x00df 00DF 444 __TIMIF7 = 0x00df 00E0 445 Fradio_link$ACC_0$0$0 == 0x00e0 00E0 446 _ACC_0 = 0x00e0 00E1 447 Fradio_link$ACC_1$0$0 == 0x00e1 00E1 448 _ACC_1 = 0x00e1 00E2 449 Fradio_link$ACC_2$0$0 == 0x00e2 00E2 450 _ACC_2 = 0x00e2 00E3 451 Fradio_link$ACC_3$0$0 == 0x00e3 00E3 452 _ACC_3 = 0x00e3 00E4 453 Fradio_link$ACC_4$0$0 == 0x00e4 00E4 454 _ACC_4 = 0x00e4 00E5 455 Fradio_link$ACC_5$0$0 == 0x00e5 00E5 456 _ACC_5 = 0x00e5 00E6 457 Fradio_link$ACC_6$0$0 == 0x00e6 00E6 458 _ACC_6 = 0x00e6 00E7 459 Fradio_link$ACC_7$0$0 == 0x00e7 00E7 460 _ACC_7 = 0x00e7 00E8 461 Fradio_link$P2IF$0$0 == 0x00e8 00E8 462 _P2IF = 0x00e8 00E9 463 Fradio_link$UTX0IF$0$0 == 0x00e9 00E9 464 _UTX0IF = 0x00e9 00EA 465 Fradio_link$UTX1IF$0$0 == 0x00ea 00EA 466 _UTX1IF = 0x00ea 00EB 467 Fradio_link$P1IF$0$0 == 0x00eb 00EB 468 _P1IF = 0x00eb 00EC 469 Fradio_link$WDTIF$0$0 == 0x00ec 00EC 470 _WDTIF = 0x00ec 00ED 471 Fradio_link$_IRCON25$0$0 == 0x00ed 00ED 472 __IRCON25 = 0x00ed 00EE 473 Fradio_link$_IRCON26$0$0 == 0x00ee 00EE 474 __IRCON26 = 0x00ee 00EF 475 Fradio_link$_IRCON27$0$0 == 0x00ef 00EF 476 __IRCON27 = 0x00ef 00F0 477 Fradio_link$B_0$0$0 == 0x00f0 00F0 478 _B_0 = 0x00f0 00F1 479 Fradio_link$B_1$0$0 == 0x00f1 00F1 480 _B_1 = 0x00f1 00F2 481 Fradio_link$B_2$0$0 == 0x00f2 00F2 482 _B_2 = 0x00f2 00F3 483 Fradio_link$B_3$0$0 == 0x00f3 00F3 484 _B_3 = 0x00f3 00F4 485 Fradio_link$B_4$0$0 == 0x00f4 00F4 486 _B_4 = 0x00f4 00F5 487 Fradio_link$B_5$0$0 == 0x00f5 00F5 488 _B_5 = 0x00f5 00F6 489 Fradio_link$B_6$0$0 == 0x00f6 00F6 490 _B_6 = 0x00f6 00F7 491 Fradio_link$B_7$0$0 == 0x00f7 00F7 492 _B_7 = 0x00f7 00F8 493 Fradio_link$U1ACTIVE$0$0 == 0x00f8 00F8 494 _U1ACTIVE = 0x00f8 00F9 495 Fradio_link$U1TX_BYTE$0$0 == 0x00f9 00F9 496 _U1TX_BYTE = 0x00f9 00FA 497 Fradio_link$U1RX_BYTE$0$0 == 0x00fa 00FA 498 _U1RX_BYTE = 0x00fa 00FB 499 Fradio_link$U1ERR$0$0 == 0x00fb 00FB 500 _U1ERR = 0x00fb 00FC 501 Fradio_link$U1FE$0$0 == 0x00fc 00FC 502 _U1FE = 0x00fc 00FD 503 Fradio_link$U1SLAVE$0$0 == 0x00fd 00FD 504 _U1SLAVE = 0x00fd 00FE 505 Fradio_link$U1RE$0$0 == 0x00fe 00FE 506 _U1RE = 0x00fe 00FF 507 Fradio_link$U1MODE$0$0 == 0x00ff 00FF 508 _U1MODE = 0x00ff 509 ;-------------------------------------------------------- 510 ; overlayable register banks 511 ;-------------------------------------------------------- 512 .area REG_BANK_0 (REL,OVR,DATA) 0000 513 .ds 8 514 ;-------------------------------------------------------- 515 ; internal ram data 516 ;-------------------------------------------------------- 517 .area DSEG (DATA) 0000 518 G$radioLinkRxMainLoopIndex$0$0==. 0000 519 _radioLinkRxMainLoopIndex:: 0000 520 .ds 1 0001 521 G$radioLinkRxInterruptIndex$0$0==. 0001 522 _radioLinkRxInterruptIndex:: 0001 523 .ds 1 0002 524 G$radioLinkTxMainLoopIndex$0$0==. 0002 525 _radioLinkTxMainLoopIndex:: 0002 526 .ds 1 0003 527 G$radioLinkTxInterruptIndex$0$0==. 0003 528 _radioLinkTxInterruptIndex:: 0003 529 .ds 1 0004 530 G$radioLinkTxCurrentPacketTries$0$0==. 0004 531 _radioLinkTxCurrentPacketTries:: 0004 532 .ds 1 0005 533 LradioMacEventHandler$sloc0$1$0==. 0005 534 _radioMacEventHandler_sloc0_1_0: 0005 535 .ds 1 536 ;-------------------------------------------------------- 537 ; overlayable items in internal ram 538 ;-------------------------------------------------------- 539 .area OSEG (OVR,DATA) 540 ;-------------------------------------------------------- 541 ; indirectly addressable internal ram data 542 ;-------------------------------------------------------- 543 .area ISEG (DATA) 544 ;-------------------------------------------------------- 545 ; absolute internal ram data 546 ;-------------------------------------------------------- 547 .area IABS (ABS,DATA) 548 .area IABS (ABS,DATA) 549 ;-------------------------------------------------------- 550 ; bit data 551 ;-------------------------------------------------------- 552 .area BSEG (BIT) 0000 553 Fradio_link$sendingReset$0$0==. 0000 554 _sendingReset: 0000 555 .ds 1 0001 556 Fradio_link$acceptAnySequenceBit$0$0==. 0001 557 _acceptAnySequenceBit: 0001 558 .ds 1 0002 559 G$radioLinkResetPacketReceived$0$0==. 0002 560 _radioLinkResetPacketReceived:: 0002 561 .ds 1 0003 562 Fradio_link$rxSequenceBit$0$0==. 0003 563 _rxSequenceBit: 0003 564 .ds 1 0004 565 Fradio_link$txSequenceBit$0$0==. 0004 566 _txSequenceBit: 0004 567 .ds 1 0005 568 G$radioLinkActivityOccurred$0$0==. 0005 569 _radioLinkActivityOccurred:: 0005 570 .ds 1 571 ;-------------------------------------------------------- 572 ; paged external ram data 573 ;-------------------------------------------------------- 574 .area PSEG (PAG,XDATA) 0000 575 LradioMacEventHandler$currentRxPacket$2$4==. 0000 576 _radioMacEventHandler_currentRxPacket_2_4: 0000 577 .ds 2 578 ;-------------------------------------------------------- 579 ; external ram data 580 ;-------------------------------------------------------- 581 .area XSEG (XDATA) DF00 582 Fradio_link$SYNC1$0$0 == 0xdf00 DF00 583 _SYNC1 = 0xdf00 DF01 584 Fradio_link$SYNC0$0$0 == 0xdf01 DF01 585 _SYNC0 = 0xdf01 DF02 586 Fradio_link$PKTLEN$0$0 == 0xdf02 DF02 587 _PKTLEN = 0xdf02 DF03 588 Fradio_link$PKTCTRL1$0$0 == 0xdf03 DF03 589 _PKTCTRL1 = 0xdf03 DF04 590 Fradio_link$PKTCTRL0$0$0 == 0xdf04 DF04 591 _PKTCTRL0 = 0xdf04 DF05 592 Fradio_link$ADDR$0$0 == 0xdf05 DF05 593 _ADDR = 0xdf05 DF06 594 Fradio_link$CHANNR$0$0 == 0xdf06 DF06 595 _CHANNR = 0xdf06 DF07 596 Fradio_link$FSCTRL1$0$0 == 0xdf07 DF07 597 _FSCTRL1 = 0xdf07 DF08 598 Fradio_link$FSCTRL0$0$0 == 0xdf08 DF08 599 _FSCTRL0 = 0xdf08 DF09 600 Fradio_link$FREQ2$0$0 == 0xdf09 DF09 601 _FREQ2 = 0xdf09 DF0A 602 Fradio_link$FREQ1$0$0 == 0xdf0a DF0A 603 _FREQ1 = 0xdf0a DF0B 604 Fradio_link$FREQ0$0$0 == 0xdf0b DF0B 605 _FREQ0 = 0xdf0b DF0C 606 Fradio_link$MDMCFG4$0$0 == 0xdf0c DF0C 607 _MDMCFG4 = 0xdf0c DF0D 608 Fradio_link$MDMCFG3$0$0 == 0xdf0d DF0D 609 _MDMCFG3 = 0xdf0d DF0E 610 Fradio_link$MDMCFG2$0$0 == 0xdf0e DF0E 611 _MDMCFG2 = 0xdf0e DF0F 612 Fradio_link$MDMCFG1$0$0 == 0xdf0f DF0F 613 _MDMCFG1 = 0xdf0f DF10 614 Fradio_link$MDMCFG0$0$0 == 0xdf10 DF10 615 _MDMCFG0 = 0xdf10 DF11 616 Fradio_link$DEVIATN$0$0 == 0xdf11 DF11 617 _DEVIATN = 0xdf11 DF12 618 Fradio_link$MCSM2$0$0 == 0xdf12 DF12 619 _MCSM2 = 0xdf12 DF13 620 Fradio_link$MCSM1$0$0 == 0xdf13 DF13 621 _MCSM1 = 0xdf13 DF14 622 Fradio_link$MCSM0$0$0 == 0xdf14 DF14 623 _MCSM0 = 0xdf14 DF15 624 Fradio_link$FOCCFG$0$0 == 0xdf15 DF15 625 _FOCCFG = 0xdf15 DF16 626 Fradio_link$BSCFG$0$0 == 0xdf16 DF16 627 _BSCFG = 0xdf16 DF17 628 Fradio_link$AGCCTRL2$0$0 == 0xdf17 DF17 629 _AGCCTRL2 = 0xdf17 DF18 630 Fradio_link$AGCCTRL1$0$0 == 0xdf18 DF18 631 _AGCCTRL1 = 0xdf18 DF19 632 Fradio_link$AGCCTRL0$0$0 == 0xdf19 DF19 633 _AGCCTRL0 = 0xdf19 DF1A 634 Fradio_link$FREND1$0$0 == 0xdf1a DF1A 635 _FREND1 = 0xdf1a DF1B 636 Fradio_link$FREND0$0$0 == 0xdf1b DF1B 637 _FREND0 = 0xdf1b DF1C 638 Fradio_link$FSCAL3$0$0 == 0xdf1c DF1C 639 _FSCAL3 = 0xdf1c DF1D 640 Fradio_link$FSCAL2$0$0 == 0xdf1d DF1D 641 _FSCAL2 = 0xdf1d DF1E 642 Fradio_link$FSCAL1$0$0 == 0xdf1e DF1E 643 _FSCAL1 = 0xdf1e DF1F 644 Fradio_link$FSCAL0$0$0 == 0xdf1f DF1F 645 _FSCAL0 = 0xdf1f DF23 646 Fradio_link$TEST2$0$0 == 0xdf23 DF23 647 _TEST2 = 0xdf23 DF24 648 Fradio_link$TEST1$0$0 == 0xdf24 DF24 649 _TEST1 = 0xdf24 DF25 650 Fradio_link$TEST0$0$0 == 0xdf25 DF25 651 _TEST0 = 0xdf25 DF2E 652 Fradio_link$PA_TABLE0$0$0 == 0xdf2e DF2E 653 _PA_TABLE0 = 0xdf2e DF2F 654 Fradio_link$IOCFG2$0$0 == 0xdf2f DF2F 655 _IOCFG2 = 0xdf2f DF30 656 Fradio_link$IOCFG1$0$0 == 0xdf30 DF30 657 _IOCFG1 = 0xdf30 DF31 658 Fradio_link$IOCFG0$0$0 == 0xdf31 DF31 659 _IOCFG0 = 0xdf31 DF36 660 Fradio_link$PARTNUM$0$0 == 0xdf36 DF36 661 _PARTNUM = 0xdf36 DF37 662 Fradio_link$VERSION$0$0 == 0xdf37 DF37 663 _VERSION = 0xdf37 DF38 664 Fradio_link$FREQEST$0$0 == 0xdf38 DF38 665 _FREQEST = 0xdf38 DF39 666 Fradio_link$LQI$0$0 == 0xdf39 DF39 667 _LQI = 0xdf39 DF3A 668 Fradio_link$RSSI$0$0 == 0xdf3a DF3A 669 _RSSI = 0xdf3a DF3B 670 Fradio_link$MARCSTATE$0$0 == 0xdf3b DF3B 671 _MARCSTATE = 0xdf3b DF3C 672 Fradio_link$PKTSTATUS$0$0 == 0xdf3c DF3C 673 _PKTSTATUS = 0xdf3c DF3D 674 Fradio_link$VCO_VC_DAC$0$0 == 0xdf3d DF3D 675 _VCO_VC_DAC = 0xdf3d DF40 676 Fradio_link$I2SCFG0$0$0 == 0xdf40 DF40 677 _I2SCFG0 = 0xdf40 DF41 678 Fradio_link$I2SCFG1$0$0 == 0xdf41 DF41 679 _I2SCFG1 = 0xdf41 DF42 680 Fradio_link$I2SDATL$0$0 == 0xdf42 DF42 681 _I2SDATL = 0xdf42 DF43 682 Fradio_link$I2SDATH$0$0 == 0xdf43 DF43 683 _I2SDATH = 0xdf43 DF44 684 Fradio_link$I2SWCNT$0$0 == 0xdf44 DF44 685 _I2SWCNT = 0xdf44 DF45 686 Fradio_link$I2SSTAT$0$0 == 0xdf45 DF45 687 _I2SSTAT = 0xdf45 DF46 688 Fradio_link$I2SCLKF0$0$0 == 0xdf46 DF46 689 _I2SCLKF0 = 0xdf46 DF47 690 Fradio_link$I2SCLKF1$0$0 == 0xdf47 DF47 691 _I2SCLKF1 = 0xdf47 DF48 692 Fradio_link$I2SCLKF2$0$0 == 0xdf48 DF48 693 _I2SCLKF2 = 0xdf48 DE00 694 Fradio_link$USBADDR$0$0 == 0xde00 DE00 695 _USBADDR = 0xde00 DE01 696 Fradio_link$USBPOW$0$0 == 0xde01 DE01 697 _USBPOW = 0xde01 DE02 698 Fradio_link$USBIIF$0$0 == 0xde02 DE02 699 _USBIIF = 0xde02 DE04 700 Fradio_link$USBOIF$0$0 == 0xde04 DE04 701 _USBOIF = 0xde04 DE06 702 Fradio_link$USBCIF$0$0 == 0xde06 DE06 703 _USBCIF = 0xde06 DE07 704 Fradio_link$USBIIE$0$0 == 0xde07 DE07 705 _USBIIE = 0xde07 DE09 706 Fradio_link$USBOIE$0$0 == 0xde09 DE09 707 _USBOIE = 0xde09 DE0B 708 Fradio_link$USBCIE$0$0 == 0xde0b DE0B 709 _USBCIE = 0xde0b DE0C 710 Fradio_link$USBFRML$0$0 == 0xde0c DE0C 711 _USBFRML = 0xde0c DE0D 712 Fradio_link$USBFRMH$0$0 == 0xde0d DE0D 713 _USBFRMH = 0xde0d DE0E 714 Fradio_link$USBINDEX$0$0 == 0xde0e DE0E 715 _USBINDEX = 0xde0e DE10 716 Fradio_link$USBMAXI$0$0 == 0xde10 DE10 717 _USBMAXI = 0xde10 DE11 718 Fradio_link$USBCSIL$0$0 == 0xde11 DE11 719 _USBCSIL = 0xde11 DE12 720 Fradio_link$USBCSIH$0$0 == 0xde12 DE12 721 _USBCSIH = 0xde12 DE13 722 Fradio_link$USBMAXO$0$0 == 0xde13 DE13 723 _USBMAXO = 0xde13 DE14 724 Fradio_link$USBCSOL$0$0 == 0xde14 DE14 725 _USBCSOL = 0xde14 DE15 726 Fradio_link$USBCSOH$0$0 == 0xde15 DE15 727 _USBCSOH = 0xde15 DE16 728 Fradio_link$USBCNTL$0$0 == 0xde16 DE16 729 _USBCNTL = 0xde16 DE17 730 Fradio_link$USBCNTH$0$0 == 0xde17 DE17 731 _USBCNTH = 0xde17 DE20 732 Fradio_link$USBF0$0$0 == 0xde20 DE20 733 _USBF0 = 0xde20 DE22 734 Fradio_link$USBF1$0$0 == 0xde22 DE22 735 _USBF1 = 0xde22 DE24 736 Fradio_link$USBF2$0$0 == 0xde24 DE24 737 _USBF2 = 0xde24 DE26 738 Fradio_link$USBF3$0$0 == 0xde26 DE26 739 _USBF3 = 0xde26 DE28 740 Fradio_link$USBF4$0$0 == 0xde28 DE28 741 _USBF4 = 0xde28 DE2A 742 Fradio_link$USBF5$0$0 == 0xde2a DE2A 743 _USBF5 = 0xde2a 0000 744 Fradio_link$radioLinkRxPacket$0$0==. 0000 745 _radioLinkRxPacket: 0000 746 .ds 66 0042 747 Fradio_link$radioLinkTxPacket$0$0==. 0042 748 _radioLinkTxPacket: 0042 749 .ds 320 0182 750 G$shortTxPacket$0$0==. 0182 751 _shortTxPacket:: 0182 752 .ds 2 753 ;-------------------------------------------------------- 754 ; absolute external ram data 755 ;-------------------------------------------------------- 756 .area XABS (ABS,XDATA) 757 ;-------------------------------------------------------- 758 ; external initialized ram data 759 ;-------------------------------------------------------- 760 .area XISEG (XDATA) 761 .area HOME (CODE) 762 .area GSINIT0 (CODE) 763 .area GSINIT1 (CODE) 764 .area GSINIT2 (CODE) 765 .area GSINIT3 (CODE) 766 .area GSINIT4 (CODE) 767 .area GSINIT5 (CODE) 768 .area GSINIT (CODE) 769 .area GSFINAL (CODE) 770 .area CSEG (CODE) 771 ;-------------------------------------------------------- 772 ; global & static initialisations 773 ;-------------------------------------------------------- 774 .area HOME (CODE) 775 .area GSINIT (CODE) 776 .area GSFINAL (CODE) 777 .area GSINIT (CODE) 0000 778 G$radioMacEventHandler$0$0 ==. 0000 779 C$radio_link.c$62$2$1 ==. 780 ; libraries/src/radio_link/radio_link.c:62: volatile uint8 DATA radioLinkRxMainLoopIndex = 0; // The index of the next rxBuffer to read from the main loop. 0000 75*00 00 781 mov _radioLinkRxMainLoopIndex,#0x00 0003 782 G$radioMacEventHandler$0$0 ==. 0003 783 C$radio_link.c$63$2$1 ==. 784 ; libraries/src/radio_link/radio_link.c:63: volatile uint8 DATA radioLinkRxInterruptIndex = 0; // The index of the next rxBuffer to write to when a packet comes from the radio. 0003 75*01 00 785 mov _radioLinkRxInterruptIndex,#0x00 0006 786 G$radioMacEventHandler$0$0 ==. 0006 787 C$radio_link.c$68$2$1 ==. 788 ; libraries/src/radio_link/radio_link.c:68: volatile uint8 DATA radioLinkTxMainLoopIndex = 0; // The index of the next txPacket to write to in the main loop. 0006 75*02 00 789 mov _radioLinkTxMainLoopIndex,#0x00 0009 790 G$radioMacEventHandler$0$0 ==. 0009 791 C$radio_link.c$69$2$1 ==. 792 ; libraries/src/radio_link/radio_link.c:69: volatile uint8 DATA radioLinkTxInterruptIndex = 0; // The index of the current txPacket we are trying to send on the radio. 0009 75*03 00 793 mov _radioLinkTxInterruptIndex,#0x00 000C 794 G$radioMacEventHandler$0$0 ==. 000C 795 C$radio_link.c$76$2$1 ==. 796 ; libraries/src/radio_link/radio_link.c:76: uint8 DATA radioLinkTxCurrentPacketTries = 0; 000C 75*04 00 797 mov _radioLinkTxCurrentPacketTries,#0x00 000F 798 G$radioMacEventHandler$0$0 ==. 000F 799 C$radio_link.c$78$2$1 ==. 800 ; libraries/src/radio_link/radio_link.c:78: static volatile BIT sendingReset = 0; 000F C2*00 801 clr _sendingReset 0011 802 G$radioMacEventHandler$0$0 ==. 0011 803 C$radio_link.c$79$2$1 ==. 804 ; libraries/src/radio_link/radio_link.c:79: static volatile BIT acceptAnySequenceBit = 0; 0011 C2*01 805 clr _acceptAnySequenceBit 806 ;-------------------------------------------------------- 807 ; Home 808 ;-------------------------------------------------------- 809 .area HOME (CODE) 810 .area HOME (CODE) 811 ;-------------------------------------------------------- 812 ; code 813 ;-------------------------------------------------------- 814 .area CSEG (CODE) 815 ;------------------------------------------------------------ 816 ;Allocation info for local variables in function 'radioLinkInit' 817 ;------------------------------------------------------------ 818 ;------------------------------------------------------------ 0000 819 G$radioLinkInit$0$0 ==. 0000 820 C$radio_link.c$105$0$0 ==. 821 ; libraries/src/radio_link/radio_link.c:105: void radioLinkInit() 822 ; ----------------------------------------- 823 ; function radioLinkInit 824 ; ----------------------------------------- 0000 825 _radioLinkInit: 0002 826 ar2 = 0x02 0003 827 ar3 = 0x03 0004 828 ar4 = 0x04 0005 829 ar5 = 0x05 0006 830 ar6 = 0x06 0007 831 ar7 = 0x07 0000 832 ar0 = 0x00 0001 833 ar1 = 0x01 0000 834 C$radio_link.c$107$1$1 ==. 835 ; libraries/src/radio_link/radio_link.c:107: randomSeedFromSerialNumber(); 0000 12s00r00 836 lcall _randomSeedFromSerialNumber 0003 837 C$radio_link.c$109$1$1 ==. 838 ; libraries/src/radio_link/radio_link.c:109: rxSequenceBit = 1; 0003 D2*03 839 setb _rxSequenceBit 0005 840 C$radio_link.c$111$1$1 ==. 841 ; libraries/src/radio_link/radio_link.c:111: txSequenceBit = 0; 0005 C2*04 842 clr _txSequenceBit 0007 843 C$radio_link.c$113$1$1 ==. 844 ; libraries/src/radio_link/radio_link.c:113: PKTLEN = RADIO_MAX_PACKET_SIZE; 0007 90 DF 02 845 mov dptr,#_PKTLEN 000A 74 13 846 mov a,#0x13 000C F0 847 movx @dptr,a 000D 848 C$radio_link.c$114$1$1 ==. 849 ; libraries/src/radio_link/radio_link.c:114: CHANNR = param_radio_channel; 000D 90s00r00 850 mov dptr,#_param_radio_channel 0010 E4 851 clr a 0011 93 852 movc a,@a+dptr 0012 FA 853 mov r2,a 0013 74 01 854 mov a,#0x01 0015 93 855 movc a,@a+dptr 0016 74 02 856 mov a,#0x02 0018 93 857 movc a,@a+dptr 0019 74 03 858 mov a,#0x03 001B 93 859 movc a,@a+dptr 001C 90 DF 06 860 mov dptr,#_CHANNR 001F EA 861 mov a,r2 0020 F0 862 movx @dptr,a 0021 863 C$radio_link.c$116$1$1 ==. 864 ; libraries/src/radio_link/radio_link.c:116: acceptAnySequenceBit = 1; 0021 D2*01 865 setb _acceptAnySequenceBit 0023 866 C$radio_link.c$117$1$1 ==. 867 ; libraries/src/radio_link/radio_link.c:117: radioMacInit(); 0023 12s00r00 868 lcall _radioMacInit 0026 869 C$radio_link.c$120$1$1 ==. 870 ; libraries/src/radio_link/radio_link.c:120: sendingReset = 1; 0026 D2*00 871 setb _sendingReset 0028 872 C$radio_link.c$121$1$1 ==. 873 ; libraries/src/radio_link/radio_link.c:121: radioMacStrobe(); 0028 874 C$radio_link.c$122$1$1 ==. 0028 875 XG$radioLinkInit$0$0 ==. 0028 02s00r00 876 ljmp _radioMacStrobe 877 ;------------------------------------------------------------ 878 ;Allocation info for local variables in function 'randomTxDelay' 879 ;------------------------------------------------------------ 880 ;------------------------------------------------------------ 002B 881 Fradio_link$randomTxDelay$0$0 ==. 002B 882 C$radio_link.c$132$1$1 ==. 883 ; libraries/src/radio_link/radio_link.c:132: static uint8 randomTxDelay() 884 ; ----------------------------------------- 885 ; function randomTxDelay 886 ; ----------------------------------------- 002B 887 _randomTxDelay: 002B 888 C$radio_link.c$135$1$1 ==. 889 ; libraries/src/radio_link/radio_link.c:135: return (radioLinkTxCurrentPacketTries > 200 ? 250 : 1) + (randomNumber() & 3); 002B 74 C8 890 mov a,#0xC8 002D B5*04 00 891 cjne a,_radioLinkTxCurrentPacketTries,00106$ 0030 892 00106$: 0030 50 04 893 jnc 00103$ 0032 7A FA 894 mov r2,#0xFA 0034 80 02 895 sjmp 00104$ 0036 896 00103$: 0036 7A 01 897 mov r2,#0x01 0038 898 00104$: 0038 C0 02 899 push ar2 003A 12s00r00 900 lcall _randomNumber 003D E5 82 901 mov a,dpl 003F D0 02 902 pop ar2 0041 54 03 903 anl a,#0x03 0043 2A 904 add a,r2 0044 F5 82 905 mov dpl,a 0046 906 C$radio_link.c$136$1$1 ==. 0046 907 XFradio_link$randomTxDelay$0$0 ==. 0046 22 908 ret 909 ;------------------------------------------------------------ 910 ;Allocation info for local variables in function 'radioLinkConnected' 911 ;------------------------------------------------------------ 912 ;------------------------------------------------------------ 0047 913 G$radioLinkConnected$0$0 ==. 0047 914 C$radio_link.c$138$1$1 ==. 915 ; libraries/src/radio_link/radio_link.c:138: BIT radioLinkConnected() 916 ; ----------------------------------------- 917 ; function radioLinkConnected 918 ; ----------------------------------------- 0047 919 _radioLinkConnected: 0047 920 C$radio_link.c$140$1$1 ==. 921 ; libraries/src/radio_link/radio_link.c:140: return !sendingReset; 0047 A2*00 922 mov c,_sendingReset 0049 B3 923 cpl c 004A 924 C$radio_link.c$141$1$1 ==. 004A 925 XG$radioLinkConnected$0$0 ==. 004A 22 926 ret 927 ;------------------------------------------------------------ 928 ;Allocation info for local variables in function 'radioLinkTxAvailable' 929 ;------------------------------------------------------------ 930 ;------------------------------------------------------------ 004B 931 G$radioLinkTxAvailable$0$0 ==. 004B 932 C$radio_link.c$145$1$1 ==. 933 ; libraries/src/radio_link/radio_link.c:145: uint8 radioLinkTxAvailable(void) 934 ; ----------------------------------------- 935 ; function radioLinkTxAvailable 936 ; ----------------------------------------- 004B 937 _radioLinkTxAvailable: 004B 938 C$radio_link.c$148$1$1 ==. 939 ; libraries/src/radio_link/radio_link.c:148: return (radioLinkTxInterruptIndex - radioLinkTxMainLoopIndex - 1) & (TX_PACKET_COUNT - 1); 004B E5*03 940 mov a,_radioLinkTxInterruptIndex 004D C3 941 clr c 004E 95*02 942 subb a,_radioLinkTxMainLoopIndex 0050 14 943 dec a 0051 54 0F 944 anl a,#0x0F 0053 F5 82 945 mov dpl,a 0055 946 C$radio_link.c$149$1$1 ==. 0055 947 XG$radioLinkTxAvailable$0$0 ==. 0055 22 948 ret 949 ;------------------------------------------------------------ 950 ;Allocation info for local variables in function 'radioLinkTxQueued' 951 ;------------------------------------------------------------ 952 ;------------------------------------------------------------ 0056 953 G$radioLinkTxQueued$0$0 ==. 0056 954 C$radio_link.c$151$1$1 ==. 955 ; libraries/src/radio_link/radio_link.c:151: uint8 radioLinkTxQueued(void) 956 ; ----------------------------------------- 957 ; function radioLinkTxQueued 958 ; ----------------------------------------- 0056 959 _radioLinkTxQueued: 0056 960 C$radio_link.c$153$1$1 ==. 961 ; libraries/src/radio_link/radio_link.c:153: return (radioLinkTxMainLoopIndex - radioLinkTxInterruptIndex) & (TX_PACKET_COUNT - 1); 0056 E5*02 962 mov a,_radioLinkTxMainLoopIndex 0058 C3 963 clr c 0059 95*03 964 subb a,_radioLinkTxInterruptIndex 005B 54 0F 965 anl a,#0x0F 005D F5 82 966 mov dpl,a 005F 967 C$radio_link.c$154$1$1 ==. 005F 968 XG$radioLinkTxQueued$0$0 ==. 005F 22 969 ret 970 ;------------------------------------------------------------ 971 ;Allocation info for local variables in function 'radioLinkTxCurrentPacket' 972 ;------------------------------------------------------------ 973 ;------------------------------------------------------------ 0060 974 G$radioLinkTxCurrentPacket$0$0 ==. 0060 975 C$radio_link.c$156$1$1 ==. 976 ; libraries/src/radio_link/radio_link.c:156: uint8 XDATA * radioLinkTxCurrentPacket() 977 ; ----------------------------------------- 978 ; function radioLinkTxCurrentPacket 979 ; ----------------------------------------- 0060 980 _radioLinkTxCurrentPacket: 0060 981 C$radio_link.c$158$1$1 ==. 982 ; libraries/src/radio_link/radio_link.c:158: if (!radioLinkTxAvailable()) 0060 12s00r4B 983 lcall _radioLinkTxAvailable 0063 E5 82 984 mov a,dpl 0065 70 04 985 jnz 00102$ 0067 986 C$radio_link.c$160$2$2 ==. 987 ; libraries/src/radio_link/radio_link.c:160: return 0; 0067 90 00 00 988 mov dptr,#0x0000 006A 22 989 ret 006B 990 00102$: 006B 991 C$radio_link.c$163$1$1 ==. 992 ; libraries/src/radio_link/radio_link.c:163: return radioLinkTxPacket[radioLinkTxMainLoopIndex] + RADIO_LINK_PACKET_HEADER_LENGTH; 006B E5*02 993 mov a,_radioLinkTxMainLoopIndex 006D 75 F0 14 994 mov b,#0x14 0070 A4 995 mul ab 0071 24r42 996 add a,#_radioLinkTxPacket 0073 FA 997 mov r2,a 0074 74s00 998 mov a,#(_radioLinkTxPacket >> 8) 0076 35 F0 999 addc a,b 0078 FB 1000 mov r3,a 0079 0A 1001 inc r2 007A BA 00 01 1002 cjne r2,#0x00,00107$ 007D 0B 1003 inc r3 007E 1004 00107$: 007E 8A 82 1005 mov dpl,r2 0080 8B 83 1006 mov dph,r3 0082 1007 C$radio_link.c$164$1$1 ==. 0082 1008 XG$radioLinkTxCurrentPacket$0$0 ==. 0082 22 1009 ret 1010 ;------------------------------------------------------------ 1011 ;Allocation info for local variables in function 'radioLinkTxSendPacket' 1012 ;------------------------------------------------------------ 1013 ;------------------------------------------------------------ 0083 1014 G$radioLinkTxSendPacket$0$0 ==. 0083 1015 C$radio_link.c$166$1$1 ==. 1016 ; libraries/src/radio_link/radio_link.c:166: void radioLinkTxSendPacket(uint8 payloadType) 1017 ; ----------------------------------------- 1018 ; function radioLinkTxSendPacket 1019 ; ----------------------------------------- 0083 1020 _radioLinkTxSendPacket: 0083 AA 82 1021 mov r2,dpl 0085 1022 C$radio_link.c$169$1$1 ==. 1023 ; libraries/src/radio_link/radio_link.c:169: radioLinkTxPacket[radioLinkTxMainLoopIndex][0] = radioLinkTxPacket[radioLinkTxMainLoopIndex][RADIO_LINK_PACKET_HEADER_LENGTH] + RADIO_LINK_PACKET_HEADER_LENGTH; 0085 E5*02 1024 mov a,_radioLinkTxMainLoopIndex 0087 75 F0 14 1025 mov b,#0x14 008A A4 1026 mul ab 008B 24r42 1027 add a,#_radioLinkTxPacket 008D FB 1028 mov r3,a 008E 74s00 1029 mov a,#(_radioLinkTxPacket >> 8) 0090 35 F0 1030 addc a,b 0092 FC 1031 mov r4,a 0093 E5*02 1032 mov a,_radioLinkTxMainLoopIndex 0095 75 F0 14 1033 mov b,#0x14 0098 A4 1034 mul ab 0099 24r42 1035 add a,#_radioLinkTxPacket 009B FD 1036 mov r5,a 009C 74s00 1037 mov a,#(_radioLinkTxPacket >> 8) 009E 35 F0 1038 addc a,b 00A0 FE 1039 mov r6,a 00A1 8D 82 1040 mov dpl,r5 00A3 8E 83 1041 mov dph,r6 00A5 A3 1042 inc dptr 00A6 E0 1043 movx a,@dptr 00A7 FD 1044 mov r5,a 00A8 0D 1045 inc r5 00A9 8B 82 1046 mov dpl,r3 00AB 8C 83 1047 mov dph,r4 00AD ED 1048 mov a,r5 00AE F0 1049 movx @dptr,a 00AF 1050 C$radio_link.c$172$1$1 ==. 1051 ; libraries/src/radio_link/radio_link.c:172: radioLinkTxPacket[radioLinkTxMainLoopIndex][RADIO_LINK_PACKET_TYPE_OFFSET] = payloadType << RADIO_LINK_PAYLOAD_TYPE_BIT_OFFSET; 00AF E5*02 1052 mov a,_radioLinkTxMainLoopIndex 00B1 75 F0 14 1053 mov b,#0x14 00B4 A4 1054 mul ab 00B5 24r42 1055 add a,#_radioLinkTxPacket 00B7 FB 1056 mov r3,a 00B8 74s00 1057 mov a,#(_radioLinkTxPacket >> 8) 00BA 35 F0 1058 addc a,b 00BC FC 1059 mov r4,a 00BD 8B 82 1060 mov dpl,r3 00BF 8C 83 1061 mov dph,r4 00C1 A3 1062 inc dptr 00C2 EA 1063 mov a,r2 00C3 2A 1064 add a,r2 00C4 FA 1065 mov r2,a 00C5 F0 1066 movx @dptr,a 00C6 1067 C$radio_link.c$175$1$1 ==. 1068 ; libraries/src/radio_link/radio_link.c:175: if (radioLinkTxMainLoopIndex == TX_PACKET_COUNT - 1) 00C6 74 0F 1069 mov a,#0x0F 00C8 B5*02 05 1070 cjne a,_radioLinkTxMainLoopIndex,00102$ 00CB 1071 C$radio_link.c$177$2$2 ==. 1072 ; libraries/src/radio_link/radio_link.c:177: radioLinkTxMainLoopIndex = 0; 00CB 75*02 00 1073 mov _radioLinkTxMainLoopIndex,#0x00 00CE 80 02 1074 sjmp 00103$ 00D0 1075 00102$: 00D0 1076 C$radio_link.c$181$2$3 ==. 1077 ; libraries/src/radio_link/radio_link.c:181: radioLinkTxMainLoopIndex++; 00D0 05*02 1078 inc _radioLinkTxMainLoopIndex 00D2 1079 00103$: 00D2 1080 C$radio_link.c$186$1$1 ==. 1081 ; libraries/src/radio_link/radio_link.c:186: radioMacStrobe(); 00D2 1082 C$radio_link.c$187$1$1 ==. 00D2 1083 XG$radioLinkTxSendPacket$0$0 ==. 00D2 02s00r00 1084 ljmp _radioMacStrobe 1085 ;------------------------------------------------------------ 1086 ;Allocation info for local variables in function 'radioLinkRxCurrentPacket' 1087 ;------------------------------------------------------------ 1088 ;------------------------------------------------------------ 00D5 1089 G$radioLinkRxCurrentPacket$0$0 ==. 00D5 1090 C$radio_link.c$191$1$1 ==. 1091 ; libraries/src/radio_link/radio_link.c:191: uint8 XDATA * radioLinkRxCurrentPacket(void) 1092 ; ----------------------------------------- 1093 ; function radioLinkRxCurrentPacket 1094 ; ----------------------------------------- 00D5 1095 _radioLinkRxCurrentPacket: 00D5 1096 C$radio_link.c$193$1$1 ==. 1097 ; libraries/src/radio_link/radio_link.c:193: if (radioLinkRxMainLoopIndex == radioLinkRxInterruptIndex) 00D5 E5*01 1098 mov a,_radioLinkRxInterruptIndex 00D7 B5*00 04 1099 cjne a,_radioLinkRxMainLoopIndex,00102$ 00DA 1100 C$radio_link.c$195$2$2 ==. 1101 ; libraries/src/radio_link/radio_link.c:195: return 0; 00DA 90 00 00 1102 mov dptr,#0x0000 00DD 22 1103 ret 00DE 1104 00102$: 00DE 1105 C$radio_link.c$198$1$1 ==. 1106 ; libraries/src/radio_link/radio_link.c:198: return radioLinkRxPacket[radioLinkRxMainLoopIndex] + RADIO_LINK_PACKET_HEADER_LENGTH; 00DE E5*00 1107 mov a,_radioLinkRxMainLoopIndex 00E0 75 F0 16 1108 mov b,#0x16 00E3 A4 1109 mul ab 00E4 24r00 1110 add a,#_radioLinkRxPacket 00E6 FA 1111 mov r2,a 00E7 E4 1112 clr a 00E8 34s00 1113 addc a,#(_radioLinkRxPacket >> 8) 00EA FB 1114 mov r3,a 00EB 0A 1115 inc r2 00EC BA 00 01 1116 cjne r2,#0x00,00108$ 00EF 0B 1117 inc r3 00F0 1118 00108$: 00F0 8A 82 1119 mov dpl,r2 00F2 8B 83 1120 mov dph,r3 00F4 1121 C$radio_link.c$199$1$1 ==. 00F4 1122 XG$radioLinkRxCurrentPacket$0$0 ==. 00F4 22 1123 ret 1124 ;------------------------------------------------------------ 1125 ;Allocation info for local variables in function 'radioLinkRxCurrentPayloadType' 1126 ;------------------------------------------------------------ 1127 ;------------------------------------------------------------ 00F5 1128 G$radioLinkRxCurrentPayloadType$0$0 ==. 00F5 1129 C$radio_link.c$201$1$1 ==. 1130 ; libraries/src/radio_link/radio_link.c:201: uint8 radioLinkRxCurrentPayloadType(void) 1131 ; ----------------------------------------- 1132 ; function radioLinkRxCurrentPayloadType 1133 ; ----------------------------------------- 00F5 1134 _radioLinkRxCurrentPayloadType: 00F5 1135 C$radio_link.c$203$1$1 ==. 1136 ; libraries/src/radio_link/radio_link.c:203: return radioLinkRxPacket[radioLinkRxMainLoopIndex][0]; 00F5 E5*00 1137 mov a,_radioLinkRxMainLoopIndex 00F7 75 F0 16 1138 mov b,#0x16 00FA A4 1139 mul ab 00FB 24r00 1140 add a,#_radioLinkRxPacket 00FD F5 82 1141 mov dpl,a 00FF E4 1142 clr a 0100 34s00 1143 addc a,#(_radioLinkRxPacket >> 8) 0102 F5 83 1144 mov dph,a 0104 E0 1145 movx a,@dptr 0105 1146 C$radio_link.c$204$1$1 ==. 0105 1147 XG$radioLinkRxCurrentPayloadType$0$0 ==. 0105 F5 82 1148 mov dpl,a 0107 22 1149 ret 1150 ;------------------------------------------------------------ 1151 ;Allocation info for local variables in function 'radioLinkRxDoneWithPacket' 1152 ;------------------------------------------------------------ 1153 ;------------------------------------------------------------ 0108 1154 G$radioLinkRxDoneWithPacket$0$0 ==. 0108 1155 C$radio_link.c$206$1$1 ==. 1156 ; libraries/src/radio_link/radio_link.c:206: void radioLinkRxDoneWithPacket(void) 1157 ; ----------------------------------------- 1158 ; function radioLinkRxDoneWithPacket 1159 ; ----------------------------------------- 0108 1160 _radioLinkRxDoneWithPacket: 0108 1161 C$radio_link.c$208$1$1 ==. 1162 ; libraries/src/radio_link/radio_link.c:208: if (radioLinkRxMainLoopIndex == RX_PACKET_COUNT - 1) 0108 74 02 1163 mov a,#0x02 010A B5*00 04 1164 cjne a,_radioLinkRxMainLoopIndex,00102$ 010D 1165 C$radio_link.c$210$2$2 ==. 1166 ; libraries/src/radio_link/radio_link.c:210: radioLinkRxMainLoopIndex = 0; 010D 75*00 00 1167 mov _radioLinkRxMainLoopIndex,#0x00 0110 22 1168 ret 0111 1169 00102$: 0111 1170 C$radio_link.c$214$2$3 ==. 1171 ; libraries/src/radio_link/radio_link.c:214: radioLinkRxMainLoopIndex++; 0111 05*00 1172 inc _radioLinkRxMainLoopIndex 0113 1173 C$radio_link.c$216$1$1 ==. 0113 1174 XG$radioLinkRxDoneWithPacket$0$0 ==. 0113 22 1175 ret 1176 ;------------------------------------------------------------ 1177 ;Allocation info for local variables in function 'txResetPacket' 1178 ;------------------------------------------------------------ 1179 ;------------------------------------------------------------ 0114 1180 Fradio_link$txResetPacket$0$0 ==. 0114 1181 C$radio_link.c$220$1$1 ==. 1182 ; libraries/src/radio_link/radio_link.c:220: static void txResetPacket() 1183 ; ----------------------------------------- 1184 ; function txResetPacket 1185 ; ----------------------------------------- 0114 1186 _txResetPacket: 0114 1187 C$radio_link.c$222$1$1 ==. 1188 ; libraries/src/radio_link/radio_link.c:222: shortTxPacket[RADIO_LINK_PACKET_LENGTH_OFFSET] = 1; 0114 90s01r82 1189 mov dptr,#_shortTxPacket 0117 74 01 1190 mov a,#0x01 0119 F0 1191 movx @dptr,a 011A 1192 C$radio_link.c$223$1$1 ==. 1193 ; libraries/src/radio_link/radio_link.c:223: shortTxPacket[RADIO_LINK_PACKET_TYPE_OFFSET] = PACKET_TYPE_RESET; 011A 90s01r83 1194 mov dptr,#(_shortTxPacket + 0x0001) 011D 74 C0 1195 mov a,#0xC0 011F F0 1196 movx @dptr,a 0120 1197 C$radio_link.c$224$1$1 ==. 1198 ; libraries/src/radio_link/radio_link.c:224: radioMacTx(shortTxPacket); 0120 90s01r82 1199 mov dptr,#_shortTxPacket 0123 12s00r00 1200 lcall _radioMacTx 0126 1201 C$radio_link.c$225$1$1 ==. 1202 ; libraries/src/radio_link/radio_link.c:225: if (radioLinkTxCurrentPacketTries < 255) 0126 74 01 1203 mov a,#0x100 - 0xFF 0128 25*04 1204 add a,_radioLinkTxCurrentPacketTries 012A 40 02 1205 jc 00103$ 012C 1206 C$radio_link.c$227$2$2 ==. 1207 ; libraries/src/radio_link/radio_link.c:227: radioLinkTxCurrentPacketTries++; 012C 05*04 1208 inc _radioLinkTxCurrentPacketTries 012E 1209 00103$: 012E 1210 C$radio_link.c$229$2$1 ==. 012E 1211 XFradio_link$txResetPacket$0$0 ==. 012E 22 1212 ret 1213 ;------------------------------------------------------------ 1214 ;Allocation info for local variables in function 'txDataPacket' 1215 ;------------------------------------------------------------ 1216 ;------------------------------------------------------------ 012F 1217 Fradio_link$txDataPacket$0$0 ==. 012F 1218 C$radio_link.c$231$2$1 ==. 1219 ; libraries/src/radio_link/radio_link.c:231: static void txDataPacket(uint8 packetType) 1220 ; ----------------------------------------- 1221 ; function txDataPacket 1222 ; ----------------------------------------- 012F 1223 _txDataPacket: 012F AA 82 1224 mov r2,dpl 0131 1225 C$radio_link.c$233$1$1 ==. 1226 ; libraries/src/radio_link/radio_link.c:233: radioLinkTxPacket[radioLinkTxInterruptIndex][RADIO_LINK_PACKET_TYPE_OFFSET] = 0131 E5*03 1227 mov a,_radioLinkTxInterruptIndex 0133 75 F0 14 1228 mov b,#0x14 0136 A4 1229 mul ab 0137 24r42 1230 add a,#_radioLinkTxPacket 0139 FB 1231 mov r3,a 013A 74s00 1232 mov a,#(_radioLinkTxPacket >> 8) 013C 35 F0 1233 addc a,b 013E FC 1234 mov r4,a 013F 0B 1235 inc r3 0140 BB 00 01 1236 cjne r3,#0x00,00106$ 0143 0C 1237 inc r4 0144 1238 00106$: 0144 1239 C$radio_link.c$234$1$1 ==. 1240 ; libraries/src/radio_link/radio_link.c:234: (radioLinkTxPacket[radioLinkTxInterruptIndex][RADIO_LINK_PACKET_TYPE_OFFSET] & RADIO_LINK_PAYLOAD_TYPE_MASK) | packetType | txSequenceBit; 0144 E5*03 1241 mov a,_radioLinkTxInterruptIndex 0146 75 F0 14 1242 mov b,#0x14 0149 A4 1243 mul ab 014A 24r42 1244 add a,#_radioLinkTxPacket 014C FD 1245 mov r5,a 014D 74s00 1246 mov a,#(_radioLinkTxPacket >> 8) 014F 35 F0 1247 addc a,b 0151 FE 1248 mov r6,a 0152 8D 82 1249 mov dpl,r5 0154 8E 83 1250 mov dph,r6 0156 A3 1251 inc dptr 0157 E0 1252 movx a,@dptr 0158 54 1E 1253 anl a,#0x1E 015A 42 02 1254 orl ar2,a 015C A2*04 1255 mov c,_txSequenceBit 015E E4 1256 clr a 015F 33 1257 rlc a 0160 42 02 1258 orl ar2,a 0162 8B 82 1259 mov dpl,r3 0164 8C 83 1260 mov dph,r4 0166 EA 1261 mov a,r2 0167 F0 1262 movx @dptr,a 0168 1263 C$radio_link.c$235$1$1 ==. 1264 ; libraries/src/radio_link/radio_link.c:235: radioMacTx(radioLinkTxPacket[radioLinkTxInterruptIndex]); 0168 E5*03 1265 mov a,_radioLinkTxInterruptIndex 016A 75 F0 14 1266 mov b,#0x14 016D A4 1267 mul ab 016E 24r42 1268 add a,#_radioLinkTxPacket 0170 FA 1269 mov r2,a 0171 74s00 1270 mov a,#(_radioLinkTxPacket >> 8) 0173 35 F0 1271 addc a,b 0175 FB 1272 mov r3,a 0176 8A 82 1273 mov dpl,r2 0178 8B 83 1274 mov dph,r3 017A 12s00r00 1275 lcall _radioMacTx 017D 1276 C$radio_link.c$236$1$1 ==. 1277 ; libraries/src/radio_link/radio_link.c:236: if (radioLinkTxCurrentPacketTries < 255) 017D 74 01 1278 mov a,#0x100 - 0xFF 017F 25*04 1279 add a,_radioLinkTxCurrentPacketTries 0181 40 02 1280 jc 00103$ 0183 1281 C$radio_link.c$238$2$2 ==. 1282 ; libraries/src/radio_link/radio_link.c:238: radioLinkTxCurrentPacketTries++; 0183 05*04 1283 inc _radioLinkTxCurrentPacketTries 0185 1284 00103$: 0185 1285 C$radio_link.c$240$2$1 ==. 0185 1286 XFradio_link$txDataPacket$0$0 ==. 0185 22 1287 ret 1288 ;------------------------------------------------------------ 1289 ;Allocation info for local variables in function 'takeInitiative' 1290 ;------------------------------------------------------------ 1291 ;------------------------------------------------------------ 0186 1292 Fradio_link$takeInitiative$0$0 ==. 0186 1293 C$radio_link.c$242$2$1 ==. 1294 ; libraries/src/radio_link/radio_link.c:242: static void takeInitiative() 1295 ; ----------------------------------------- 1296 ; function takeInitiative 1297 ; ----------------------------------------- 0186 1298 _takeInitiative: 0186 1299 C$radio_link.c$244$1$1 ==. 1300 ; libraries/src/radio_link/radio_link.c:244: if (sendingReset) 0186 30*00 06 1301 jnb _sendingReset,00105$ 0189 1302 C$radio_link.c$247$2$2 ==. 1303 ; libraries/src/radio_link/radio_link.c:247: txResetPacket(); 0189 12s01r14 1304 lcall _txResetPacket 018C 1305 C$radio_link.c$248$2$2 ==. 1306 ; libraries/src/radio_link/radio_link.c:248: radioLinkActivityOccurred = 1; 018C D2*05 1307 setb _radioLinkActivityOccurred 018E 22 1308 ret 018F 1309 00105$: 018F 1310 C$radio_link.c$250$1$1 ==. 1311 ; libraries/src/radio_link/radio_link.c:250: else if (radioLinkTxInterruptIndex != radioLinkTxMainLoopIndex) 018F E5*02 1312 mov a,_radioLinkTxMainLoopIndex 0191 B5*03 02 1313 cjne a,_radioLinkTxInterruptIndex,00112$ 0194 80 09 1314 sjmp 00102$ 0196 1315 00112$: 0196 1316 C$radio_link.c$253$2$3 ==. 1317 ; libraries/src/radio_link/radio_link.c:253: txDataPacket(PACKET_TYPE_PING); 0196 75 82 00 1318 mov dpl,#0x00 0199 12s01r2F 1319 lcall _txDataPacket 019C 1320 C$radio_link.c$254$2$3 ==. 1321 ; libraries/src/radio_link/radio_link.c:254: radioLinkActivityOccurred = 1; 019C D2*05 1322 setb _radioLinkActivityOccurred 019E 22 1323 ret 019F 1324 00102$: 019F 1325 C$radio_link.c$258$2$4 ==. 1326 ; libraries/src/radio_link/radio_link.c:258: radioMacRx(radioLinkRxPacket[radioLinkRxInterruptIndex], 0); 019F E5*01 1327 mov a,_radioLinkRxInterruptIndex 01A1 75 F0 16 1328 mov b,#0x16 01A4 A4 1329 mul ab 01A5 24r00 1330 add a,#_radioLinkRxPacket 01A7 FA 1331 mov r2,a 01A8 E4 1332 clr a 01A9 34s00 1333 addc a,#(_radioLinkRxPacket >> 8) 01AB FB 1334 mov r3,a 01AC 78r00 1335 mov r0,#_radioMacRx_PARM_2 01AE E4 1336 clr a 01AF F2 1337 movx @r0,a 01B0 8A 82 1338 mov dpl,r2 01B2 8B 83 1339 mov dph,r3 01B4 1340 C$radio_link.c$260$1$1 ==. 01B4 1341 XFradio_link$takeInitiative$0$0 ==. 01B4 02s00r00 1342 ljmp _radioMacRx 1343 ;------------------------------------------------------------ 1344 ;Allocation info for local variables in function 'radioMacEventHandler' 1345 ;------------------------------------------------------------ 1346 ;sloc0 Allocated with name '_radioMacEventHandler_sloc0_1_0' 1347 ;------------------------------------------------------------ 01B7 1348 G$radioMacEventHandler$0$0 ==. 01B7 1349 C$radio_link.c$262$1$1 ==. 1350 ; libraries/src/radio_link/radio_link.c:262: void radioMacEventHandler(uint8 event) // called by the MAC in an ISR 1351 ; ----------------------------------------- 1352 ; function radioMacEventHandler 1353 ; ----------------------------------------- 01B7 1354 _radioMacEventHandler: 01B7 AA 82 1355 mov r2,dpl 01B9 1356 C$radio_link.c$264$1$1 ==. 1357 ; libraries/src/radio_link/radio_link.c:264: if (event == RADIO_MAC_EVENT_STROBE) 01B9 BA 21 03 1358 cjne r2,#0x21,00142$ 01BC 1359 C$radio_link.c$266$2$2 ==. 1360 ; libraries/src/radio_link/radio_link.c:266: takeInitiative(); 01BC 1361 C$radio_link.c$267$2$2 ==. 1362 ; libraries/src/radio_link/radio_link.c:267: return; 01BC 02s01r86 1363 ljmp _takeInitiative 01BF 1364 00142$: 01BF 1365 C$radio_link.c$269$1$1 ==. 1366 ; libraries/src/radio_link/radio_link.c:269: else if (event == RADIO_MAC_EVENT_TX) 01BF BA 1E 25 1367 cjne r2,#0x1E,00139$ 01C2 1368 C$radio_link.c$272$2$3 ==. 1369 ; libraries/src/radio_link/radio_link.c:272: radioMacRx(radioLinkRxPacket[radioLinkRxInterruptIndex], randomTxDelay()); 01C2 E5*01 1370 mov a,_radioLinkRxInterruptIndex 01C4 75 F0 16 1371 mov b,#0x16 01C7 A4 1372 mul ab 01C8 24r00 1373 add a,#_radioLinkRxPacket 01CA FB 1374 mov r3,a 01CB E4 1375 clr a 01CC 34s00 1376 addc a,#(_radioLinkRxPacket >> 8) 01CE FC 1377 mov r4,a 01CF C0 03 1378 push ar3 01D1 C0 04 1379 push ar4 01D3 12s00r2B 1380 lcall _randomTxDelay 01D6 AD 82 1381 mov r5,dpl 01D8 D0 04 1382 pop ar4 01DA D0 03 1383 pop ar3 01DC 78r00 1384 mov r0,#_radioMacRx_PARM_2 01DE ED 1385 mov a,r5 01DF F2 1386 movx @r0,a 01E0 8B 82 1387 mov dpl,r3 01E2 8C 83 1388 mov dph,r4 01E4 1389 C$radio_link.c$273$2$3 ==. 1390 ; libraries/src/radio_link/radio_link.c:273: return; 01E4 02s00r00 1391 ljmp _radioMacRx 01E7 1392 00139$: 01E7 1393 C$radio_link.c$275$1$1 ==. 1394 ; libraries/src/radio_link/radio_link.c:275: else if (event == RADIO_MAC_EVENT_RX) 01E7 BA 1F 02 1395 cjne r2,#0x1F,00166$ 01EA 80 03 1396 sjmp 00167$ 01EC 1397 00166$: 01EC 02s03r2A 1398 ljmp 00136$ 01EF 1399 00167$: 01EF 1400 C$radio_link.c$277$2$4 ==. 1401 ; libraries/src/radio_link/radio_link.c:277: uint8 XDATA * currentRxPacket = radioLinkRxPacket[radioLinkRxInterruptIndex]; 01EF E5*01 1402 mov a,_radioLinkRxInterruptIndex 01F1 75 F0 16 1403 mov b,#0x16 01F4 A4 1404 mul ab 01F5 78r00 1405 mov r0,#_radioMacEventHandler_currentRxPacket_2_4 01F7 24r00 1406 add a,#_radioLinkRxPacket 01F9 F2 1407 movx @r0,a 01FA E4 1408 clr a 01FB 34s00 1409 addc a,#(_radioLinkRxPacket >> 8) 01FD 08 1410 inc r0 01FE F2 1411 movx @r0,a 01FF 1412 C$radio_link.c$279$2$4 ==. 1413 ; libraries/src/radio_link/radio_link.c:279: if (!radioCrcPassed()) 01FF 12s00r00 1414 lcall _radioCrcPassed 0202 40 2C 1415 jc 00105$ 0204 1416 C$radio_link.c$281$3$5 ==. 1417 ; libraries/src/radio_link/radio_link.c:281: if (radioLinkTxInterruptIndex != radioLinkTxMainLoopIndex) 0204 E5*02 1418 mov a,_radioLinkTxMainLoopIndex 0206 B5*03 02 1419 cjne a,_radioLinkTxInterruptIndex,00169$ 0209 80 15 1420 sjmp 00102$ 020B 1421 00169$: 020B 1422 C$radio_link.c$283$4$6 ==. 1423 ; libraries/src/radio_link/radio_link.c:283: radioMacRx(currentRxPacket, randomTxDelay()); 020B 12s00r2B 1424 lcall _randomTxDelay 020E AD 82 1425 mov r5,dpl 0210 78r00 1426 mov r0,#_radioMacRx_PARM_2 0212 ED 1427 mov a,r5 0213 F2 1428 movx @r0,a 0214 78r00 1429 mov r0,#_radioMacEventHandler_currentRxPacket_2_4 0216 E2 1430 movx a,@r0 0217 F5 82 1431 mov dpl,a 0219 08 1432 inc r0 021A E2 1433 movx a,@r0 021B F5 83 1434 mov dph,a 021D 02s00r00 1435 ljmp _radioMacRx 0220 1436 00102$: 0220 1437 C$radio_link.c$287$4$7 ==. 1438 ; libraries/src/radio_link/radio_link.c:287: radioMacRx(currentRxPacket, 0); 0220 78r00 1439 mov r0,#_radioMacRx_PARM_2 0222 E4 1440 clr a 0223 F2 1441 movx @r0,a 0224 78r00 1442 mov r0,#_radioMacEventHandler_currentRxPacket_2_4 0226 E2 1443 movx a,@r0 0227 F5 82 1444 mov dpl,a 0229 08 1445 inc r0 022A E2 1446 movx a,@r0 022B F5 83 1447 mov dph,a 022D 1448 C$radio_link.c$289$3$5 ==. 1449 ; libraries/src/radio_link/radio_link.c:289: return; 022D 02s00r00 1450 ljmp _radioMacRx 0230 1451 00105$: 0230 1452 C$radio_link.c$292$2$4 ==. 1453 ; libraries/src/radio_link/radio_link.c:292: if ((currentRxPacket[RADIO_LINK_PACKET_TYPE_OFFSET] & PACKET_TYPE_MASK) == PACKET_TYPE_RESET) 0230 78r00 1454 mov r0,#_radioMacEventHandler_currentRxPacket_2_4 0232 E2 1455 movx a,@r0 0233 24 01 1456 add a,#0x01 0235 FD 1457 mov r5,a 0236 08 1458 inc r0 0237 E2 1459 movx a,@r0 0238 34 00 1460 addc a,#0x00 023A FE 1461 mov r6,a 023B 8D 82 1462 mov dpl,r5 023D 8E 83 1463 mov dph,r6 023F E0 1464 movx a,@dptr 0240 FF 1465 mov r7,a 0241 74 C0 1466 mov a,#0xC0 0243 5F 1467 anl a,r7 0244 FB 1468 mov r3,a 0245 BB C0 19 1469 cjne r3,#0xC0,00107$ 0248 1470 C$radio_link.c$296$3$8 ==. 1471 ; libraries/src/radio_link/radio_link.c:296: rxSequenceBit = 1; 0248 D2*03 1472 setb _rxSequenceBit 024A 1473 C$radio_link.c$299$3$8 ==. 1474 ; libraries/src/radio_link/radio_link.c:299: radioLinkResetPacketReceived = 1; 024A D2*02 1475 setb _radioLinkResetPacketReceived 024C 1476 C$radio_link.c$302$3$8 ==. 1477 ; libraries/src/radio_link/radio_link.c:302: shortTxPacket[RADIO_LINK_PACKET_LENGTH_OFFSET] = 1; 024C 90s01r82 1478 mov dptr,#_shortTxPacket 024F 74 01 1479 mov a,#0x01 0251 F0 1480 movx @dptr,a 0252 1481 C$radio_link.c$303$3$8 ==. 1482 ; libraries/src/radio_link/radio_link.c:303: shortTxPacket[RADIO_LINK_PACKET_TYPE_OFFSET] = PACKET_TYPE_ACK; 0252 90s01r83 1483 mov dptr,#(_shortTxPacket + 0x0001) 0255 74 80 1484 mov a,#0x80 0257 F0 1485 movx @dptr,a 0258 1486 C$radio_link.c$304$3$8 ==. 1487 ; libraries/src/radio_link/radio_link.c:304: radioMacTx(shortTxPacket); 0258 90s01r82 1488 mov dptr,#_shortTxPacket 025B 12s00r00 1489 lcall _radioMacTx 025E 1490 C$radio_link.c$306$3$8 ==. 1491 ; libraries/src/radio_link/radio_link.c:306: radioLinkActivityOccurred = 1; 025E D2*05 1492 setb _radioLinkActivityOccurred 0260 1493 C$radio_link.c$308$3$8 ==. 1494 ; libraries/src/radio_link/radio_link.c:308: return; 0260 22 1495 ret 0261 1496 00107$: 0261 1497 C$radio_link.c$311$2$1 ==. 1498 ; libraries/src/radio_link/radio_link.c:311: if ((currentRxPacket[RADIO_LINK_PACKET_TYPE_OFFSET] & PACKET_TYPE_MASK) == PACKET_TYPE_ACK) 0261 C0 05 1499 push ar5 0263 C0 06 1500 push ar6 0265 74 C0 1501 mov a,#0xC0 0267 5F 1502 anl a,r7 0268 FD 1503 mov r5,a 0269 BD 80 02 1504 cjne r5,#0x80,00172$ 026C 80 06 1505 sjmp 00173$ 026E 1506 00172$: 026E D0 06 1507 pop ar6 0270 D0 05 1508 pop ar5 0272 80 28 1509 sjmp 00117$ 0274 1510 00173$: 0274 D0 06 1511 pop ar6 0276 D0 05 1512 pop ar5 0278 1513 C$radio_link.c$315$3$9 ==. 1514 ; libraries/src/radio_link/radio_link.c:315: if (sendingReset) 0278 1515 C$radio_link.c$318$4$10 ==. 1516 ; libraries/src/radio_link/radio_link.c:318: sendingReset = 0; 0278 10*00 02 1517 jbc _sendingReset,00174$ 027B 80 07 1518 sjmp 00114$ 027D 1519 00174$: 027D 1520 C$radio_link.c$321$4$10 ==. 1521 ; libraries/src/radio_link/radio_link.c:321: radioLinkTxCurrentPacketTries = 0; 027D 75*04 00 1522 mov _radioLinkTxCurrentPacketTries,#0x00 0280 1523 C$radio_link.c$324$4$10 ==. 1524 ; libraries/src/radio_link/radio_link.c:324: txSequenceBit = 0; 0280 C2*04 1525 clr _txSequenceBit 0282 80 18 1526 sjmp 00117$ 0284 1527 00114$: 0284 1528 C$radio_link.c$326$3$9 ==. 1529 ; libraries/src/radio_link/radio_link.c:326: else if (radioLinkTxInterruptIndex != radioLinkTxMainLoopIndex) 0284 E5*02 1530 mov a,_radioLinkTxMainLoopIndex 0286 B5*03 02 1531 cjne a,_radioLinkTxInterruptIndex,00175$ 0289 80 11 1532 sjmp 00117$ 028B 1533 00175$: 028B 1534 C$radio_link.c$333$4$11 ==. 1535 ; libraries/src/radio_link/radio_link.c:333: if (radioLinkTxInterruptIndex == TX_PACKET_COUNT - 1) 028B 74 0F 1536 mov a,#0x0F 028D B5*03 05 1537 cjne a,_radioLinkTxInterruptIndex,00109$ 0290 1538 C$radio_link.c$335$5$12 ==. 1539 ; libraries/src/radio_link/radio_link.c:335: radioLinkTxInterruptIndex = 0; 0290 75*03 00 1540 mov _radioLinkTxInterruptIndex,#0x00 0293 80 02 1541 sjmp 00110$ 0295 1542 00109$: 0295 1543 C$radio_link.c$339$5$13 ==. 1544 ; libraries/src/radio_link/radio_link.c:339: radioLinkTxInterruptIndex++; 0295 05*03 1545 inc _radioLinkTxInterruptIndex 0297 1546 00110$: 0297 1547 C$radio_link.c$343$4$11 ==. 1548 ; libraries/src/radio_link/radio_link.c:343: radioLinkTxCurrentPacketTries = 0; 0297 75*04 00 1549 mov _radioLinkTxCurrentPacketTries,#0x00 029A 1550 C$radio_link.c$346$4$11 ==. 1551 ; libraries/src/radio_link/radio_link.c:346: txSequenceBit ^= 1; 029A B2*04 1552 cpl _txSequenceBit 029C 1553 00117$: 029C 1554 C$radio_link.c$350$2$4 ==. 1555 ; libraries/src/radio_link/radio_link.c:350: if (currentRxPacket[RADIO_LINK_PACKET_LENGTH_OFFSET] > RADIO_LINK_PACKET_HEADER_LENGTH) 029C 78r00 1556 mov r0,#_radioMacEventHandler_currentRxPacket_2_4 029E E2 1557 movx a,@r0 029F F5 82 1558 mov dpl,a 02A1 08 1559 inc r0 02A2 E2 1560 movx a,@r0 02A3 F5 83 1561 mov dph,a 02A5 E0 1562 movx a,@dptr 02A6 F5*05 1563 mov _radioMacEventHandler_sloc0_1_0,a 02A8 74 01 1564 mov a,#0x01 02AA B5*05 00 1565 cjne a,_radioMacEventHandler_sloc0_1_0,00178$ 02AD 1566 00178$: 02AD 50 78 1567 jnc 00131$ 02AF 1568 C$radio_link.c$354$3$4 ==. 1569 ; libraries/src/radio_link/radio_link.c:354: uint8 responsePacketType = PACKET_TYPE_ACK; 02AF 7B 80 1570 mov r3,#0x80 02B1 1571 C$radio_link.c$356$3$14 ==. 1572 ; libraries/src/radio_link/radio_link.c:356: if (acceptAnySequenceBit || (rxSequenceBit != (currentRxPacket[RADIO_LINK_PACKET_TYPE_OFFSET] & 1))) 02B1 20*01 14 1573 jb _acceptAnySequenceBit,00124$ 02B4 C0 03 1574 push ar3 02B6 74 01 1575 mov a,#0x01 02B8 5F 1576 anl a,r7 02B9 FC 1577 mov r4,a 02BA A2*03 1578 mov c,_rxSequenceBit 02BC E4 1579 clr a 02BD 33 1580 rlc a 02BE FB 1581 mov r3,a 02BF B5 04 04 1582 cjne a,ar4,00181$ 02C2 D0 03 1583 pop ar3 02C4 80 3F 1584 sjmp 00125$ 02C6 1585 00181$: 02C6 D0 03 1586 pop ar3 02C8 1587 00124$: 02C8 1588 C$radio_link.c$363$4$15 ==. 1589 ; libraries/src/radio_link/radio_link.c:363: if (radioLinkRxInterruptIndex == RX_PACKET_COUNT - 1) 02C8 74 02 1590 mov a,#0x02 02CA B5*01 04 1591 cjne a,_radioLinkRxInterruptIndex,00119$ 02CD 1592 C$radio_link.c$365$5$16 ==. 1593 ; libraries/src/radio_link/radio_link.c:365: nextradioLinkRxInterruptIndex = 0; 02CD 7C 00 1594 mov r4,#0x00 02CF 80 04 1595 sjmp 00120$ 02D1 1596 00119$: 02D1 1597 C$radio_link.c$369$5$17 ==. 1598 ; libraries/src/radio_link/radio_link.c:369: nextradioLinkRxInterruptIndex = radioLinkRxInterruptIndex + 1; 02D1 E5*01 1599 mov a,_radioLinkRxInterruptIndex 02D3 04 1600 inc a 02D4 FC 1601 mov r4,a 02D5 1602 00120$: 02D5 1603 C$radio_link.c$372$4$15 ==. 1604 ; libraries/src/radio_link/radio_link.c:372: if (nextradioLinkRxInterruptIndex != radioLinkRxMainLoopIndex) 02D5 EC 1605 mov a,r4 02D6 B5*00 02 1606 cjne a,_radioLinkRxMainLoopIndex,00184$ 02D9 80 28 1607 sjmp 00122$ 02DB 1608 00184$: 02DB 1609 C$radio_link.c$379$2$1 ==. 1610 ; libraries/src/radio_link/radio_link.c:379: rxSequenceBit = (currentRxPacket[RADIO_LINK_PACKET_TYPE_OFFSET] & 1); 02DB C0 03 1611 push ar3 02DD EF 1612 mov a,r7 02DE 13 1613 rrc a 02DF 92*03 1614 mov _rxSequenceBit,c 02E1 1615 C$radio_link.c$380$5$18 ==. 1616 ; libraries/src/radio_link/radio_link.c:380: acceptAnySequenceBit = 0; 02E1 C2*01 1617 clr _acceptAnySequenceBit 02E3 1618 C$radio_link.c$383$5$18 ==. 1619 ; libraries/src/radio_link/radio_link.c:383: payloadType = (currentRxPacket[RADIO_LINK_PACKET_TYPE_OFFSET] & RADIO_LINK_PAYLOAD_TYPE_MASK) >> RADIO_LINK_PAYLOAD_TYPE_BIT_OFFSET; 02E3 53 07 1E 1620 anl ar7,#0x1E 02E6 EF 1621 mov a,r7 02E7 C3 1622 clr c 02E8 13 1623 rrc a 02E9 FF 1624 mov r7,a 02EA 1625 C$radio_link.c$387$5$18 ==. 1626 ; libraries/src/radio_link/radio_link.c:387: currentRxPacket[RADIO_LINK_PACKET_HEADER_LENGTH] = currentRxPacket[RADIO_LINK_PACKET_LENGTH_OFFSET] - RADIO_LINK_PACKET_HEADER_LENGTH; 02EA E5*05 1627 mov a,_radioMacEventHandler_sloc0_1_0 02EC 14 1628 dec a 02ED 8D 82 1629 mov dpl,r5 02EF 8E 83 1630 mov dph,r6 02F1 F0 1631 movx @dptr,a 02F2 1632 C$radio_link.c$391$5$18 ==. 1633 ; libraries/src/radio_link/radio_link.c:391: currentRxPacket[0] = payloadType; 02F2 78r00 1634 mov r0,#_radioMacEventHandler_currentRxPacket_2_4 02F4 E2 1635 movx a,@r0 02F5 F5 82 1636 mov dpl,a 02F7 08 1637 inc r0 02F8 E2 1638 movx a,@r0 02F9 F5 83 1639 mov dph,a 02FB EF 1640 mov a,r7 02FC F0 1641 movx @dptr,a 02FD 1642 C$radio_link.c$393$5$18 ==. 1643 ; libraries/src/radio_link/radio_link.c:393: radioLinkRxInterruptIndex = nextradioLinkRxInterruptIndex; 02FD 8C*01 1644 mov _radioLinkRxInterruptIndex,r4 02FF D0 03 1645 pop ar3 0301 80 02 1646 sjmp 00125$ 0303 1647 00122$: 0303 1648 C$radio_link.c$399$5$19 ==. 1649 ; libraries/src/radio_link/radio_link.c:399: responsePacketType = PACKET_TYPE_NAK; 0303 7B 40 1650 mov r3,#0x40 0305 1651 00125$: 0305 1652 C$radio_link.c$406$3$14 ==. 1653 ; libraries/src/radio_link/radio_link.c:406: if (radioLinkTxInterruptIndex != radioLinkTxMainLoopIndex) 0305 E5*02 1654 mov a,_radioLinkTxMainLoopIndex 0307 B5*03 02 1655 cjne a,_radioLinkTxInterruptIndex,00185$ 030A 80 07 1656 sjmp 00128$ 030C 1657 00185$: 030C 1658 C$radio_link.c$409$4$20 ==. 1659 ; libraries/src/radio_link/radio_link.c:409: txDataPacket(responsePacketType); 030C 8B 82 1660 mov dpl,r3 030E 12s01r2F 1661 lcall _txDataPacket 0311 80 11 1662 sjmp 00129$ 0313 1663 00128$: 0313 1664 C$radio_link.c$415$4$21 ==. 1665 ; libraries/src/radio_link/radio_link.c:415: shortTxPacket[RADIO_LINK_PACKET_LENGTH_OFFSET] = 1; 0313 90s01r82 1666 mov dptr,#_shortTxPacket 0316 74 01 1667 mov a,#0x01 0318 F0 1668 movx @dptr,a 0319 1669 C$radio_link.c$416$4$21 ==. 1670 ; libraries/src/radio_link/radio_link.c:416: shortTxPacket[RADIO_LINK_PACKET_TYPE_OFFSET] = responsePacketType; 0319 90s01r83 1671 mov dptr,#(_shortTxPacket + 0x0001) 031C EB 1672 mov a,r3 031D F0 1673 movx @dptr,a 031E 1674 C$radio_link.c$417$4$21 ==. 1675 ; libraries/src/radio_link/radio_link.c:417: radioMacTx(shortTxPacket); 031E 90s01r82 1676 mov dptr,#_shortTxPacket 0321 12s00r00 1677 lcall _radioMacTx 0324 1678 00129$: 0324 1679 C$radio_link.c$420$3$14 ==. 1680 ; libraries/src/radio_link/radio_link.c:420: radioLinkActivityOccurred = 1; 0324 D2*05 1681 setb _radioLinkActivityOccurred 0326 22 1682 ret 0327 1683 00131$: 0327 1684 C$radio_link.c$429$3$22 ==. 1685 ; libraries/src/radio_link/radio_link.c:429: takeInitiative(); 0327 1686 C$radio_link.c$431$2$4 ==. 1687 ; libraries/src/radio_link/radio_link.c:431: return; 0327 02s01r86 1688 ljmp _takeInitiative 032A 1689 00136$: 032A 1690 C$radio_link.c$433$1$1 ==. 1691 ; libraries/src/radio_link/radio_link.c:433: else if (event == RADIO_MAC_EVENT_RX_TIMEOUT) 032A BA 20 03 1692 cjne r2,#0x20,00144$ 032D 1693 C$radio_link.c$435$2$23 ==. 1694 ; libraries/src/radio_link/radio_link.c:435: takeInitiative(); 032D 1695 C$radio_link.c$436$2$23 ==. 1696 ; libraries/src/radio_link/radio_link.c:436: return; 032D 1697 C$radio_link.c$438$2$1 ==. 032D 1698 XG$radioMacEventHandler$0$0 ==. 032D 02s01r86 1699 ljmp _takeInitiative 0330 1700 00144$: 0330 22 1701 ret 1702 .area CSEG (CODE) 1703 .area CONST (CODE) 0000 1704 G$param_radio_channel$0$0 == . 0000 1705 _param_radio_channel: 0000 80 00 00 00 1706 .byte #0x80,#0x00,#0x00,#0x00 ; 128 1707 .area XINIT (CODE) 1708 .area CABS (ABS,CODE)