QuakeGod
2024-10-14 005755edcdc332315ba077598d4746ac195b069e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
p,ÿ”C51 "user\main.c" OPTIMIZE(8,SPEED) BROWSE INCDIR(.\user;.\drivers) DEBUG OBJECTEXTEND PRINT(.\Listings\main.lst) TABS(2) OBJECT(.\Objects\main.obj)d¿ðf.\Objects\main.objð‡jf user\main.cN¿ðf%D:\KEIL_V5\C51\INC\STC\STC15F2K60S2.HЁJD:\KEIL_V5\C51\INC\INTRINS.HVK+fSLP.H–ŽDeMODBUS.H$MAINþÎ @ ˜ @ˆ @‹(?PR?_DELAY_US?MAIN@?PR?TIMER0_ISR?MAIN@?PR?TIMER1_ISR?MAIN?PR?UART3INIT?MAIN@5?PR?UART3_ISR?MAIN#?PR?IO_INIT?MAIN?PR?GETINPUT?MAIN?PR?_PUTOUTPUT?MAIN    &?PR?_UART3SENDPACKET?MAIN
"?DT?_UART3SENDPACKET?MAIN %?PR?UART3RECVPACKET?MAIN ?PR?UART1RECVPACKET?MAIN ?PR?OTHERPROCESS?MAINƒ?PR?GETJUMPER?MAIN"?DT?GETJUMPER?MAINx ?PR?MAIN?MAIN" ?DT?MAIN?MAIN
?C_INITSEG<?DT?MAIN?BI?MAINž¯_SLPINIT?_SLPINIT?BYTE MODBUSPROCESS _SLPPROCESS_MODBUSPARSEPACKET_SLPPARSEPACKET?_SLPPARSEPACKET?BYTE
?C?CLDOPTR
?C_STARTUP}×:NCOUNT9 UART3RECVLEN8 UART1RECVLEN0 UART3RECVBUF( UART1RECVBUF'    INPUTDATA& NSLPSTATION%
BSLPMASTER    UART3BUSY    UART1BUSY$UART3RECVTIMEOUT#UART1RECVTIMEOUTSLP1MAIN    GETJUMPER OTHERPROCESS UART1RECVPACKET UART3RECVPACKET    _UART3SENDPACKET
_PUTOUTPUTGETINPUTIO_INIT    UART3_ISR    UART3INIT
TIMER1_ISR
TIMER0_ISR    _DELAY_USòMAINÀ$ MAIN.C5Ì    )8#9
$ :U# _ICE_DUMMY_? ñ# # #""( %pBufLen1# &(' 
bSLPMasternStation    SLPinputB
SLPoutputB nCurStation#inputBuf
#    outputBuf$SendBufSLPMasterRecved(SLPSendPktFuncSLPSlaveCountOut
SLPLostPkt    SLPOKSign 
SLPErrSign!nCount$    tagSLPDef%#)*## %strlen# . n# 0# # # # &&&&&&&& 6b07b18b29b3:b4;b5<b6=b7$stByte%>? Byte@bits$tagcoils%AB out# D"# # #Í’P1M0“P0M1–P2M0‘P1M1€P0     UART3_Isr²P3M0•P2M1P1´P4M0±P3M1 P2ÊP5M0³P4M1°P3ÌP6M0ÉP5M1ÀP4âP7M0ËP6M1ÈP5¯EAáP7M1èP6øP7ºP_SW2¨IE!IO_Init¬ES"    GetJumper¸IP¶KEY1·KEY2ÁKEY3ÂKEY4ÃKEY5ÄKEY6+SLP1ØCCON,main#uart1recvtimeout$uart3recvtimeout˜SCON-GetInputˆTCON    uart1busy    uart3busy    /_Uart3SendPacket1    _Delay_us 2Uart1RecvPacket¯IE2 3Uart3RecvPacket%
bSLPMaster4
Timer0_Isr5
Timer1_Isr& nSLPStationÔT3H'C    inputdataE
_PutOutputÕT3LƒDPHÑT4T3M(F uart1recvbuf0F uart3recvbuf8 uart1recvlen­S3BUF9 uart3recvlen¬S3CONG    Uart3Init H OtherProcessÅERRÆRUN:nCountÐPSW”P0M0D     _DELAY_US#
nWì#
j^ïªpJ`}í`ð€úŒé"¾#&~
‚ ƒ…~     _DELAY_US ä        ç 
TIMER0_ISRÙ2¿#‡ˆ¹ 
TIMER0_ISRÖÔ        æ 
TIMER1_ISRØ2¾#–—™ 
TIMER1_ISRÕ     UART3INIT6u¬C¬@CÑuÕ uÔÿCÑCºC¯"ø#DÀÁÂÃÄ    Å ÆÇÈɈ     UART3INIT3‹d        ä     UART3_ISR:ÀàÀÐuÐÀå¬0àS¬þt%ø¦­åÔPuå¬0áS¬ýÂÐÐÐÐà2'    1099 9"$-•#VΠ   ÐÑÒÔÕ!Ö$Ú$Û)Ü)Ý,Þ.ß.àâ     UART3_ISR
IO_INIT²(äõ”õ“õ’õ‘u–ÿõ•õ²õ±õ´õ³õÊõÉõÌõËõâõá"Ê#Dãäåæ    çèéêëì"ï¼
IO_INIT¯ GETINPUTk
å€ôÿ"n#þÿŽ GETINPUTh 
_PUTOUTPUTŽ# outj "˜#&5 
_PUTOUTPUT‹_UART3SENDPACKET 
(§#
 strlenó     ‹Š‰G    
 
 
®ì#
i]$    äÿïÝP ý«ª©‚uƒõ­Ò€ã    1 
 
 
úé    %"£#8    (    )    +     ,     -    .     /    "0    %1_UART3SENDPACKETUART3RECVPACKETv* åÔP"²Æuuu…{zyäõ"5    i$$ 009#9„#D 8 9 : ;     <
=
> ? !@ $A $BÚUART3RECVPACKETsUART1RECVPACKETx  åÔP"²Æ{zy­äõ"u    9##((88Å#D D E F G     H
I
J K L M NiUART1RECVPACKETu OTHERPROCESS2 "Ä# P Q `› OTHERPROCESS/     GETJUMPER&젅&&&&&&&&  b0!b1"b2#b3$b4%b5&b6'b7$stByte%() Byte*bits$tagcoils%+,O# -keysÒ‡¢¶³ä3Tÿ®îTþOõ¢·³ä3T%àÿ®îTýOõ¢Á³ä3T%à%àÿ®îTûOõ¢Â³ä3T333Tøÿ®îT÷Oõ¢Ã³ä3TÄTðÿ®îTïOõ¢Ä³ä3TÄ3Tàÿ®îTßOõ¯ïT¿õ¯ïTõ¯˜    ‰    !/5DJW]kqsxzé‚"A#Jbcef"g6hKi^jrkyl€n‚oø     GETJUMPER#MAIN¾ì# daa’}…ƒÒ¬Ò¯¯ïÄTõåTõuÿuu{zy………²Æ{zyå`ÂŀÒůd~åpÅ€ÁÔ    9''%' &"%&    ()    -/14%57&8:='?'@D IKMP Z\_ be lo;q;u:Aé#Âpqsvx    | } ‚ƒ!„3…6†9Š9‹9‘>’A“C–F˜OšS›UœWYŸY¢^¦a¨d¬g¯n±v²òMAIN»MAIN½r€ð    UART3_ISR_SLPINITàIO_INITð    GETJUMPERÿÿMAINàGETINPUTñó_UART3SENDPACKET'à    _DELAY_USÿÿUART1RECVPACKETÿÿUART3RECVPACKET€
TIMER0_ISR€
TIMER1_ISR€
_PUTOUTPUT MODBUSPROCESS _SLPPROCESSÀ    UART3INIT€ OTHERPROCESS_MODBUSPARSEPACKET_SLPPARSEPACKET3`4Íidataxdatapdatadatacodeedatahdataað‡jf user\main.cèa-N¿ðf%D:\KEIL_V5\C51\INC\STC\STC15F2K60S2.H®a$ЁJD:\KEIL_V5\C51\INC\INTRINS.H£a VK+fSLP.hÔa–ŽDemodbus.h˜bUart3SendPacketÈc pd%(èÈK„èÈKÌb EDsignQc € d ÿÿÿÿyb stSLPPacketSc @@dÿÿÿÿpb    Numac {d`b
pSLP0c  }dU:ÿÿÿÿ;ÿÿÿÿ=ÿÿÿÿ>ÿÿÿÿ?ÿÿÿÿ    b
Timer1_IsrÄc pd–èÈKòb    IE2Ñc ƒd%–ÿÿÿÿÉÿÿÿÿb PWM6CRÌc Žd$ÿÿÿÿab PWM3T2H”c Žd ÿÿÿÿxb PWM6T1H’c Ždÿÿÿÿfb    UART3_Isr‰c pdÎèÈKºb PWM3T2Lc Ždÿÿÿÿwb    out9c †d%ÿÿÿÿÿÿÿÿKb PWM6T1LŽc Žd ÿÿÿÿeb uart1recvlen£c ƒd5CÿÿÿÿKÿÿÿÿLÿÿÿÿŠb
mainêc pdÕ pèÈKv«x_¿„Ê‘*–{˜T¢¦)¨¹¬»¯S‚b Score1^c {d
]b Score2]c {d \b Score3\c {d [b    T3HÂc ƒd%­ÿÿÿÿÆÿÿÿÿb    PutOutput»c pdESèÈKèÈK¢èÈK¢™b
tagteacherkc  `d—b    daakc †d%rÿÿÿÿsÿÿÿÿb
bitsÝc pdaÄ[b    T3L¾c ƒd%®ÿÿÿÿÅÿÿÿÿb
P4M0Žc ƒd%pÿÿÿÿéÿÿÿÿb
P4M1c ƒd%qÿÿÿÿéÿÿÿÿb__STC15F2K60S2_H_³c Ždÿÿÿÿ„b    Age„c {d_bSLPMasterRecvedÅc |d+Âb    stteacherÂc @@dÿÿÿÿub
bSLPMasterÅc ƒd5Oÿÿÿÿ‚ÿÿÿÿ…ÿÿÿÿc |d%!…œb PWM6T1Üc Ždÿÿÿÿgb PWM6T2Ûc Žd!ÿÿÿÿdb PWM2CRÐc Ždÿÿÿÿ}b SendBufâc qd)Äb    lenRc †d%(ÿÿÿÿ+ÿÿÿÿ"bSLPSlaveCountOutLc zd/¾b
Timer0_IsrÅc pd‡èÈKb S3CON'c ƒduÂÿÿÿÿÂÿÿÿÿÃÿÿÿÿÐÿÿÿÿÒÿÿÿÿÛÿÿÿÿÝÿÿÿÿ~bUart1RecvPacketÄc pdEDèÈKK‚¦èÈK¦ßbGetInputWc pd5þèÈK‘èÈK‘3buart3recvtimeoutÑc ƒdEIÿÿÿÿÖÿÿÿÿ:ÿÿÿÿ;ÿÿÿÿ¾b PWM4T1H”c Ždÿÿÿÿtb PWM7CRËc Žd+ÿÿÿÿZb PWM4T1Lc Ždÿÿÿÿsb
P0M0’c ƒd%hÿÿÿÿåÿÿÿÿ(b
Byteûc |deWÄnāăđĒÄxb
P0M1‘c ƒd%iÿÿÿÿåÿÿÿÿ'bP0c ƒd% ÿÿÿÿÿÿÿÿTb
OUT0gc …d*ÿÿÿÿ]b    RUNœc …dE4ÿÿÿÿ>ÿÿÿÿJÿÿÿÿ“ÿÿÿÿÿb
OUT1fc …d+ÿÿÿÿ\bP2c ƒd%2ÿÿÿÿÿÿÿÿ,b
OUT2ec …d,ÿÿÿÿ[b PWM6T2H‘c Žd"ÿÿÿÿcb
OUT3dc …d-ÿÿÿÿZb
OUT4cc …d.ÿÿÿÿYb    ERR¨c …d53ÿÿÿÿ›ÿÿÿÿÿÿÿÿøb
OUT5bc …d/ÿÿÿÿXb
OUT6ac …d0ÿÿÿÿWb PWM6T2Lc Žd#ÿÿÿÿbb PWM2T1àc Ždÿÿÿÿƒb stBytec  `dXÿÿÿÿ0b
OUT7`c …d1ÿÿÿÿVb PWM2T2ßc Ždÿÿÿÿ€bSLPparsePacketc od5=??{ b pFunc1^c  }d%:ÿÿÿÿ;ÿÿÿÿüb
SLPoutputB¡c |d%$¢}b S3RB8;c Ždÿÿÿÿtb
P5M0c ƒd%rÿÿÿÿêÿÿÿÿb
P5M1Œc ƒd%sÿÿÿÿêÿÿÿÿbuart1recvtimeoutÓc ƒd5DÿÿÿÿFÿÿÿÿGÿÿÿÿ’b    uart1busyÕc …d=ÿÿÿÿJb RXD3_2Ùc …d(ÿÿÿÿ_b
keysÓc yd¥
dÿÿÿÿeÿÿÿÿfÿÿÿÿgÿÿÿÿhÿÿÿÿiÿÿÿÿjÿÿÿÿkÿÿÿÿlÿÿÿÿnÿÿÿÿÏb PWM7T1Ûc Žd%ÿÿÿÿ`b PWM7T2Úc Žd(ÿÿÿÿ]bstSLPDef¢c @@du8ÿÿÿÿ:ÿÿÿÿ;ÿÿÿÿ=ÿÿÿÿ>ÿÿÿÿ?ÿÿÿÿMÿÿÿÿgb PWM3CRÏc Ždÿÿÿÿvb__MODBUS_H_V10__tc Ždÿÿÿÿ€b uart3recvbuf£c xd5GÿÿÿÿÔÿÿÿÿ?ÿÿÿÿbDelay_usQc pd5~èÈK¯èÈK¯wb
SLPProcessµc od5?˜˜Øb PWM2T1H–c Ždÿÿÿÿ‚b PWMCKS¶c Ždÿÿÿÿ„b S3BUF*c ƒd5ÃÿÿÿÿÔÿÿÿÿ.ÿÿÿÿŸb
Len1?c …dÿÿÿÿhb PWM2T1L’c Ždÿÿÿÿba4c †dSÿÿÿÿ4b    SLPinputB$c |d%#’b __INTRINS_H__3c Žd
ÿÿÿÿ{b    BCCÉc |d³¸b P_SW2c ƒd%ÿÿÿÿÈÿÿÿÿ+b    Uart3Init"c pd5ÀèÈKxèÈKx£b TXD3_2×c …d'ÿÿÿÿ`b PWM4T2H“c Ždÿÿÿÿqb PWMCHc Ždÿÿÿÿÿ‡b PWM7T1H‘c Žd&ÿÿÿÿ_bi,c †d5*ÿÿÿÿ+ÿÿÿÿ.ÿÿÿÿßbj+c †d5€ÿÿÿÿ‚ÿÿÿÿƒÿÿÿÿßb
P1M0‘c ƒd%jÿÿÿÿæÿÿÿÿ%b PWM4T2Lc Ždÿÿÿÿpb
P1M1c ƒd%kÿÿÿÿæÿÿÿÿ$b __SLP_H_V10__Uc Ždÿÿÿÿ€b PWMCL
c Ždÿÿÿÿ…b PWM7T1Lc Žd'ÿÿÿÿ^bn'c „d%~ÿÿÿÿÿÿÿÿvb
uintÏc @Jd%ÿÿÿÿ~ÿÿÿÿÞbEA c …d%…ÿÿÿÿ}ÿÿÿÿrb PWM3T1ßc Žd    ÿÿÿÿ|b PWM3T2Þc Žd ÿÿÿÿybinputBuf:c qd&Çb    uart3busyÓc …dE>ÿÿÿÿÞÿÿÿÿ-ÿÿÿÿ/ÿÿÿÿÛb
SLPLostPktÃc zd1¼b
P6M0Œc ƒd%tÿÿÿÿëÿÿÿÿb
P6M1‹c ƒd%uÿÿÿÿëÿÿÿÿb uart1recvbuf¥c xd%BÿÿÿÿKÿÿÿÿæb    outputBuf·c qd'Æb nSLPStationBc ƒd5Pÿÿÿÿƒÿÿÿÿ†ÿÿÿÿ bSLPSendPktFuncGc  sd-ÀbnStation7c |d%"†šbUart3RecvPacketÂc pdE8èÈK?C–èÈK–Vb
pBufc  }d%ÿÿÿÿ=ÿÿÿÿb nCountc ‚d%Kÿÿÿÿ±ÿÿÿÿxc {d6·b
KEY1uc …d%6ÿÿÿÿeÿÿÿÿÛb PWM4CRÎc Ždÿÿÿÿob
KEY2tc …d%7ÿÿÿÿfÿÿÿÿÙbModbusparsePacket˜c od5KK)†bESûc …d%ˆÿÿÿÿ|ÿÿÿÿpb
KEY3sc …d%8ÿÿÿÿgÿÿÿÿ×b
KEY4rc …d%9ÿÿÿÿhÿÿÿÿÕb
KEY5qc …d%:ÿÿÿÿiÿÿÿÿÓb
KEY6pc …d%;ÿÿÿÿjÿÿÿÿÑb
len1c †d=ÿÿÿÿGbb0c d%Y@e@'b PWM2T2H•c Ždÿÿÿÿbb1c d%Z@f@%b
S3RInc Žd5ÿÿÿÿÐÿÿÿÿÒÿÿÿÿ¶bb2ÿc d%[@g@#b PWM5T1H“c Ždÿÿÿÿmbb3þc d%\@h@!b    tagSLPDefKc  `d—bb4ýc d%]@i@b heightc {d    ^b PWM2T2L‘c Ždÿÿÿÿ~bb5üc d5^@j@‚@Abb6ûc d%_@k@b PWM5T1Lc Ždÿÿÿÿlbb7úc d%`@l@bSTìc |d³»b
PWMCXc Ždþÿÿÿÿˆb
ST_M<c € d    ÿÿÿÿ{b    IN0Êc …dÿÿÿÿib    IN1Éc …dÿÿÿÿhb
P2M0c ƒd%lÿÿÿÿçÿÿÿÿ"b    IN2Èc …d ÿÿÿÿgb
P2M1c ƒd%mÿÿÿÿçÿÿÿÿ!b PWM7T2Hc Žd)ÿÿÿÿ\b    IN3Çc …d!ÿÿÿÿfb
SLP1oc wd•    Mÿÿÿÿ?ÿÿÿÿ„ÿÿÿÿ…ÿÿÿÿ†ÿÿÿÿ’ÿÿÿÿ˜ÿÿÿÿšÿÿÿÿ¢ÿÿÿÿrb    IN4Æc …d"ÿÿÿÿeb    IN5Åc …d#ÿÿÿÿdb
ST_S6c € d
ÿÿÿÿzb    IN6Äc …d$ÿÿÿÿcb PWM7T2LŒc Žd*ÿÿÿÿ[b    IN7Ãc …d%ÿÿÿÿbb T4T3M1c ƒd5©ÿÿÿÿÄÿÿÿÿÇÿÿÿÿ.b PWM4T1Þc Ždÿÿÿÿub IO_Initþc pd5ãèÈKvèÈKv„b PWM4T2Ýc Ždÿÿÿÿrb ucharzc @LdU%ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ!ÿÿÿÿ"ÿÿÿÿ#ÿÿÿÿ$ÿÿÿÿ%ÿÿÿÿ&ÿÿÿÿ'ÿÿÿÿ)ÿÿÿÿ+ÿÿÿÿ3ÿÿÿÿ4ÿÿÿÿ=ÿÿÿÿCÿÿÿÿDÿÿÿÿHÿÿÿÿIÿÿÿÿSÿÿÿÿWÿÿÿÿYÿÿÿÿZÿÿÿÿ[ÿÿÿÿ\ÿÿÿÿ]ÿÿÿÿ^ÿÿÿÿ_ÿÿÿÿ`ÿÿÿÿ€ÿÿÿÿþÿÿÿÿÿÿÿÿ(ÿÿÿÿ*ÿÿÿÿbÿÿÿÿ b    Dstfc |d³ºb S3TB89c Ždÿÿÿÿsb
P7M0‹c ƒd%vÿÿÿÿìÿÿÿÿb
P7M1Šc ƒd%wÿÿÿÿìÿÿÿÿb
SLPErrSignÚc |d%4šub tagSLPPacketüc  `d—b
S3TIlc Žd5ÿÿÿÿÛÿÿÿÿÝÿÿÿÿŸb PWM5CRÍc Ždÿÿÿÿhb PWM3T1H•c Žd
ÿÿÿÿ{b    str8c  }d%(ÿÿÿÿ.ÿÿÿÿb PWM3T1L‘c Žd ÿÿÿÿzb ModbusProcess4c od5¨¨åb PWM5T2H’c Ždÿÿÿÿjb OtherProcessžc pd5PèÈK¬èÈK¬ªb Coils“c @?d5bÿÿÿÿdÿÿÿÿdÿÿÿÿ>b    DPHµc ƒd%ÿÿÿÿsÿÿÿÿåb PWM5T2LŽc Ždÿÿÿÿib    GetJumperòc pd5bèÈKèÈKîb
P3M0c ƒd%nÿÿÿÿèÿÿÿÿb
P3M1Žc ƒd%oÿÿÿÿèÿÿÿÿb    inputdata»c vdedÿÿÿÿÿÿÿÿ‚ÿÿÿÿƒÿÿÿÿ‘ÿÿÿÿ’ÿÿÿÿ#b uart3recvlen¡c ƒdUHÿÿÿÿÔÿÿÿÿÕÿÿÿÿ?ÿÿÿÿ@ÿÿÿÿÒbtagcoils1c  _d—b SLPSendPktDefÆc @ CdEÿÿÿÿ-ÿÿÿÿ:ÿÿÿÿ;ÿÿÿÿb PWM5T1Ýc Ždÿÿÿÿnb nCurStationc |d%Èb
_sfråc †d%ÿÿÿÿÿÿÿÿHb PWM5T2Üc Ždÿÿÿÿkb SLPInitc od5:„„b
Datac |d³¹b    SLPOKSignkc |d3º
MAINÈ