📄 ci_config.lis
字号:
0086 938B std z+19,R25
0088 828B std z+18,R24
008A .dbline 81
008A .dbline 81
008A 80E0 ldi R24,<_SFPCommunicationShellBuffer
008C 90E0 ldi R25,>_SFPCommunicationShellBuffer
008E 90932100 sts _SFPCommunicationShell+1,R25
0092 80932000 sts _SFPCommunicationShell,R24
0096 .dbline 81
0096 80E1 ldi R24,16
0098 90E0 ldi R25,0
009A 90932300 sts _SFPCommunicationShell+2+1,R25
009E 80932200 sts _SFPCommunicationShell+2,R24
00A2 .dbline 81
00A2 2224 clr R2
00A4 3324 clr R3
00A6 30922500 sts _SFPCommunicationShell+4+1,R3
00AA 20922400 sts _SFPCommunicationShell+4,R2
00AE .dbline 81
00AE 30922700 sts _SFPCommunicationShell+6+1,R3
00B2 20922600 sts _SFPCommunicationShell+6,R2
00B6 .dbline 81
00B6 30922900 sts _SFPCommunicationShell+8+1,R3
00BA 20922800 sts _SFPCommunicationShell+8,R2
00BE .dbline 81
00BE 80E0 ldi R24,<PL_ADT_Queue_Add_To_Buffer
00C0 90E0 ldi R25,>PL_ADT_Queue_Add_To_Buffer
00C2 90932B00 sts _SFPCommunicationShell+10+1,R25
00C6 80932A00 sts _SFPCommunicationShell+10,R24
00CA .dbline 81
00CA 80E0 ldi R24,<PL_ADT_Queue_Get_From_Buffer
00CC 90E0 ldi R25,>PL_ADT_Queue_Get_From_Buffer
00CE 90932D00 sts _SFPCommunicationShell+12+1,R25
00D2 80932C00 sts _SFPCommunicationShell+12,R24
00D6 .dbline 81
00D6 80E0 ldi R24,<PL_ADT_Queue_Check_Empty
00D8 90E0 ldi R25,>PL_ADT_Queue_Check_Empty
00DA 90932F00 sts _SFPCommunicationShell+14+1,R25
00DE 80932E00 sts _SFPCommunicationShell+14,R24
00E2 .dbline 81
00E2 80E0 ldi R24,<PL_ADT_Queue_Peek_From_Buffer
00E4 90E0 ldi R25,>PL_ADT_Queue_Peek_From_Buffer
00E6 90933100 sts _SFPCommunicationShell+16+1,R25
00EA 80933000 sts _SFPCommunicationShell+16,R24
00EE .dbline 81
00EE .dbline 81
00EE 80E0 ldi R24,<_SFPCommunicationShellMsgItem
00F0 90E0 ldi R25,>_SFPCommunicationShellMsgItem
00F2 978B std z+23,R25
00F4 868B std z+22,R24
00F6 .dbline 81
00F6 8AEA ldi R24,170
00F8 808F std z+24,R24
00FA .dbline 81
00FA 85E5 ldi R24,85
00FC 818F std z+25,R24
00FE .dbline 81
00FE 228E std z+26,R2
0100 .dbline 81
0100 238E std z+27,R2
0102 .dbline 81
0102 22A2 std z+34,R2
0104 .dbline 81
0104 23A2 std z+35,R2
0106 .dbline 81
0106 24A2 std z+36,R2
0108 .dbline 81
0108 80E0 ldi R24,<PL_SFP_NULL_Input_Data_Function
010A 90E0 ldi R25,>PL_SFP_NULL_Input_Data_Function
010C 958F std z+29,R25
010E 848F std z+28,R24
0110 .dbline 81
0110 80E0 ldi R24,<PL_SFP_NULL_Output_Data_Function
0112 90E0 ldi R25,>PL_SFP_NULL_Output_Data_Function
0114 978F std z+31,R25
0116 868F std z+30,R24
0118 .dbline 81
0118 80E0 ldi R24,<PL_SFP_NULL_Peek_Data_Function
011A 90E0 ldi R25,>PL_SFP_NULL_Peek_Data_Function
011C 91A3 std z+33,R25
011E 80A3 std z+32,R24
0120 .dbline 83
0120 ;
0120 ; SET_INPUT_DATA_FUNCTION(UARTgetDataFromRxBuff)
0120 80E0 ldi R24,<PL_UARTgetDataFromRxBuff
0122 90E0 ldi R25,>PL_UARTgetDataFromRxBuff
0124 958F std z+29,R25
0126 848F std z+28,R24
0128 .dbline 84
0128 ; SET_OUTPUT_DATA_FUNCTION(UARTaddDataToTxBuff)
0128 80E0 ldi R24,<PL_UARTaddDataToTxBuff
012A 90E0 ldi R25,>PL_UARTaddDataToTxBuff
012C 978F std z+31,R25
012E 868F std z+30,R24
0130 .dbline 85
0130 ; SET_PEEK_DATA_FUNCTION(UARTPeekDataFromRxBuff)
0130 80E0 ldi R24,<PL_UARTPeekDataFromRxBuff
0132 90E0 ldi R25,>PL_UARTPeekDataFromRxBuff
0134 91A3 std z+33,R25
0136 80A3 std z+32,R24
0138 .dbline -2
0138 L9:
0138 .dbline 0 ; func end
0138 0895 ret
013A .dbsym r pSFP 16 pS[SerialFrameProcess]
013A .dbend
013A .dbfunc e Communication_INIT _Communication_INIT fV
.even
013A _Communication_INIT::
013A .dbline -1
013A .dbline 96
013A ;
013A ; END_DEFINE_SERIAL_FRAME_PROCESS
013A ;
013A ; /***********************************************************
013A ; * 函数说明:指令解析系统初始化函数 *
013A ; * 输入: 无 *
013A ; * 输出: 无 *
013A ; * 调用函数:无 *
013A ; ***********************************************************/
013A ; void Communication_INIT(void)
013A ; {
013A .dbline 97
013A ; INIT_MSG_MAP(CommunicationInterface)
013A 62DF xcall _MSG_Map_CommunicationInterface_INIT
013C .dbline 98
013C ; INIT_SERIAL_FRAME_PROCESS(CommunicationShell)
013C 9FDF xcall _SFP_CommunicationShell_INIT
013E .dbline -2
013E L18:
013E .dbline 0 ; func end
013E 0895 ret
0140 .dbend
0140 .dbfunc e Send_MSG _Send_MSG fc
0140 ; Length -> y+7
0140 ; pData -> R12,R13
0140 ; cCMD -> R10
.even
0140 _Send_MSG::
0140 0E940000 xcall push_xgset003C
0144 6901 movw R12,R18
0146 A02E mov R10,R16
0148 2397 sbiw R28,3
014A .dbline -1
014A .dbline 108
014A ; }
014A ;
014A ; /***********************************************************
014A ; * 函数说明:消息发送函数 *
014A ; * 输入: 指令,要发送的数据,数据的长度 *
014A ; * 输出: 指令是否发送成功 *
014A ; * 调用函数:SPF_Send_MSG() *
014A ; ***********************************************************/
014A ; BOOL Send_MSG(uint8 cCMD,uint8 *pData,uint8 Length)
014A ; {
014A .dbline 109
014A ; return SPF_Send_MSG
014A 0F80 ldd R0,y+7
014C 0A82 std y+2,R0
014E D982 std y+1,R13
0150 C882 std y+0,R12
0152 2A2D mov R18,R10
0154 00E0 ldi R16,<_SFPCommunicationShell
0156 10E0 ldi R17,>_SFPCommunicationShell
0158 0E940000 xcall _SPF_Send_MSG
015C .dbline -2
015C L19:
015C .dbline 0 ; func end
015C 2396 adiw R28,3
015E 0C940000 xjmp pop_xgset003C
0162 .dbsym l Length 7 c
0162 .dbsym r pData 12 pc
0162 .dbsym r cCMD 10 c
0162 .dbend
0162 .dbfunc e Serial_Frame_Process_Refresh _Serial_Frame_Process_Refresh fc
.even
0162 _Serial_Frame_Process_Refresh::
0162 .dbline -1
0162 .dbline 125
0162 ; (
0162 ; &SERIAL_FRAME_PROC(CommunicationShell),
0162 ; cCMD,
0162 ; pData,
0162 ; Length
0162 ; );
0162 ; }
0162 ;
0162 ; /***********************************************************
0162 ; * 函数说明:下位机指令系统进程 *
0162 ; * 输入: 无 *
0162 ; * 输出: 恒为TRUE *
0162 ; * 调用函数:SERIAL_FRAME_PROCESS(RobotPlatformShell) *
0162 ; ***********************************************************/
0162 ; BOOL Serial_Frame_Process_Refresh(void)
0162 ; {
0162 .dbline 128
0162 ; //SERIAL_FRAME_PROCESS(CommunicationShell);
0162 ;
0162 ; return TRUE;
0162 01E0 ldi R16,1
0164 .dbline -2
0164 L20:
0164 .dbline 0 ; func end
0164 0895 ret
0166 .dbend
.area bss(ram, con, rel)
0000 .dbfile O:\2007全国电子设计大赛\键盘显示模块\CI_Config.c
0000 _SFPCommunicationShellMsgItem::
0000 .blkb 16
0010 .dbsym e SFPCommunicationShellMsgItem _SFPCommunicationShellMsgItem A[16:16]c
0010 _SFPCommunicationShellBuffer::
0010 .blkb 16
0020 .dbsym e SFPCommunicationShellBuffer _SFPCommunicationShellBuffer A[16:16]c
0020 _SFPCommunicationShell::
0020 .blkb 37
0045 .dbsym e SFPCommunicationShell _SFPCommunicationShell S[SerialFrameProcess]
0045 _MSGMapCommunicationInterfaceItemArray::
0045 .blkb 12
0051 .dbsym e MSGMapCommunicationInterfaceItemArray _MSGMapCommunicationInterfaceItemArray A[12:4]S[MsgMapItem]
0051 _MSGMapCommunicationInterface::
0051 .blkb 3
0054 .dbsym e MSGMapCommunicationInterface _MSGMapCommunicationInterface S[MsgMap]
0054 ; }
.area func_lit
0000 0000 PL_UARTPeekDataFromRxBuff: .word `_UARTPeekDataFromRxBuff
0002 0000 PL_UARTaddDataToTxBuff: .word `_UARTaddDataToTxBuff
0004 0000 PL_UARTgetDataFromRxBuff: .word `_UARTgetDataFromRxBuff
0006 0000 PL_SFP_NULL_Peek_Data_Function: .word `_SFP_NULL_Peek_Data_Function
0008 0000 PL_SFP_NULL_Output_Data_Function: .word `_SFP_NULL_Output_Data_Function
000A 0000 PL_SFP_NULL_Input_Data_Function: .word `_SFP_NULL_Input_Data_Function
000C 0000 PL_ADT_Queue_Peek_From_Buffer: .word `_ADT_Queue_Peek_From_Buffer
000E 0000 PL_ADT_Queue_Check_Empty: .word `_ADT_Queue_Check_Empty
0010 0000 PL_ADT_Queue_Get_From_Buffer: .word `_ADT_Queue_Get_From_Buffer
0012 0000 PL_ADT_Queue_Add_To_Buffer: .word `_ADT_Queue_Add_To_Buffer
0014 0000 PL_PROC_Acknowledge: .word `_PROC_Acknowledge
0016 0000 PL_MSG_NULL_PROC: .word `_MSG_NULL_PROC
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -