This commit is contained in:
andrea
2026-05-18 22:38:08 +02:00
parent 4d139b6fcf
commit 8a84ea847e
25 changed files with 33293 additions and 31582 deletions

View File

@@ -95,18 +95,18 @@ const uint16_t deftab[EE_NUM_VIRTUAL_ADDR]={
450, //apM1stop;
30, //apM2start;
310, //apM2stop;
350, //apM3start;
450, //apM3stop;
450, //apM4start;
850, //apM4stop;
340, //apM3start;
430, //apM3stop;
30, //apM4start;
430, //apM4stop;
10, //chM1start;
280, //chM1stop;
280, //chM2start;
580, //chM2stop;
320, //chM1stop;
140, //chM2start;
440, //chM2stop;
20, //chM3start;
280, //chM3stop;
280, //chM4start;
680, //chM4stop;
40, //chM4start;
440, //chM4stop;
1,
27,
10,

View File

@@ -55,23 +55,23 @@ motMov_st m1ap(void){
SetMotPerc(M1,FW,0);
SetMotPerc(M1,BW,0);
if(rtCiclo>=apM1start){
(void)ramp(M1,BW,mrampstart[M1-1],m1pwmap,tramp,RAMPINIT);
(void)ramp(M1,FW,mrampstart[M1-1],m1pwmap,tramp,RAMPINIT);
m1st=motStartRamp;
}
break;
case motStartRamp:
if(ramp(M1,BW,mrampstart[M1-1],m1pwmap,tramp,RAMPRUN)==DONE){
if(ramp(M1,FW,mrampstart[M1-1],m1pwmap,tramp,RAMPRUN)==DONE){
m1st=motWaitingTime;
}
break;
case motWaitingTime:
if(rtCiclo>=apM1stop){
(void)ramp(M1,BW,m1pwmap,0,tramp,RAMPINIT);
(void)ramp(M1,FW,m1pwmap,0,tramp,RAMPINIT);
m1st=motStopRamp;
}
break;
case motStopRamp:
if(ramp(M1,BW,m1pwmap,0,tramp,RAMPRUN)==DONE){
if(ramp(M1,FW,m1pwmap,0,tramp,RAMPRUN)==DONE){
m1st=motStop;
}
break;
@@ -143,23 +143,23 @@ motMov_st m3ap(void){
SetMotPerc(M3,FW,0);
SetMotPerc(M3,BW,0);
if(rtCiclo>=apM3start){
(void)ramp(M3,BW,mrampstart[M3-1],m2pwmap,tramp,RAMPINIT);
(void)ramp(M3,FW,mrampstart[M3-1],m2pwmap,tramp,RAMPINIT);
m3st=motStartRamp;
}
break;
case motStartRamp:
if(ramp(M3,BW,mrampstart[M3-1],m3pwmap,tramp,RAMPRUN)==DONE){
if(ramp(M3,FW,mrampstart[M3-1],m3pwmap,tramp,RAMPRUN)==DONE){
m3st=motWaitingTime;
}
break;
case motWaitingTime:
if(rtCiclo>=apM3stop){
(void)ramp(M3,BW,m3pwmap,0,tramp,RAMPINIT);
(void)ramp(M3,FW,m3pwmap,0,tramp,RAMPINIT);
m3st=motStopRamp;
}
break;
case motStopRamp:
if(ramp(M3,BW,m3pwmap,0,tramp,RAMPRUN)==DONE){
if(ramp(M3,FW,m3pwmap,0,tramp,RAMPRUN)==DONE){
m3st=motStop;
}
break;
@@ -187,23 +187,23 @@ motMov_st m4ap(void){
SetMotPerc(M4,FW,0);
SetMotPerc(M4,BW,0);
if(rtCiclo>=apM4start){
(void)ramp(M4,BW,mrampstart[M4-1],m2pwmap,tramp,RAMPINIT);
(void)ramp(M4,FW,mrampstart[M4-1],m2pwmap,tramp,RAMPINIT);
m4st=motStartRamp;
}
break;
case motStartRamp:
if(ramp(M4,BW,mrampstart[M4-1],m4pwmap,tramp,RAMPRUN)==DONE){
if(ramp(M4,FW,mrampstart[M4-1],m4pwmap,tramp,RAMPRUN)==DONE){
m4st=motWaitingTime;
}
break;
case motWaitingTime:
if(rtCiclo>=apM4stop){
(void)ramp(M4,BW,m4pwmap,0,tramp,RAMPINIT);
(void)ramp(M4,FW,m4pwmap,0,tramp,RAMPINIT);
m4st=motStopRamp;
}
break;
case motStopRamp:
if(ramp(M4,BW,m4pwmap,0,tramp,RAMPRUN)==DONE){
if(ramp(M4,FW,m4pwmap,0,tramp,RAMPRUN)==DONE){
m4st=motStop;
}
break;
@@ -231,23 +231,23 @@ motMov_st m1ch(void){
SetMotPerc(M1,FW,0);
SetMotPerc(M1,BW,0);
if(rtCiclo>=chM1start){
(void)ramp(M1,FW,mrampstart[M1-1],m1pwmch,tramp,RAMPINIT);
(void)ramp(M1,BW,mrampstart[M1-1],m1pwmch,tramp,RAMPINIT);
m1st=motStartRamp;
}
break;
case motStartRamp:
if(ramp(M1,FW,mrampstart[M1-1],m1pwmch,tramp,RAMPRUN)==DONE){
if(ramp(M1,BW,mrampstart[M1-1],m1pwmch,tramp,RAMPRUN)==DONE){
m1st=motWaitingTime;
}
break;
case motWaitingTime:
if(rtCiclo>=chM1stop){
(void)ramp(M1,FW,m1pwmch,0,tramp,RAMPINIT);
(void)ramp(M1,BW,m1pwmch,0,tramp,RAMPINIT);
m1st=motStopRamp;
}
break;
case motStopRamp:
if(ramp(M1,FW,m1pwmch,0,tramp,RAMPRUN)==DONE){
if(ramp(M1,BW,m1pwmch,0,tramp,RAMPRUN)==DONE){
m1st=motStop;
}
break;
@@ -321,23 +321,23 @@ motMov_st m3ch(void){
SetMotPerc(M3,FW,0);
SetMotPerc(M3,BW,0);
if(rtCiclo>=chM3start){
(void)ramp(M3,FW,mrampstart[M3-1],m2pwmch,tramp,RAMPINIT);
(void)ramp(M3,BW,mrampstart[M3-1],m2pwmch,tramp,RAMPINIT);
m3st=motStartRamp;
}
break;
case motStartRamp:
if(ramp(M3,FW,mrampstart[M3-1],m3pwmch,tramp,RAMPRUN)==DONE){
if(ramp(M3,BW,mrampstart[M3-1],m3pwmch,tramp,RAMPRUN)==DONE){
m3st=motWaitingTime;
}
break;
case motWaitingTime:
if(rtCiclo>=chM3stop){
(void)ramp(M3,FW,m3pwmch,0,tramp,RAMPINIT);
(void)ramp(M3,BW,m3pwmch,0,tramp,RAMPINIT);
m3st=motStopRamp;
}
break;
case motStopRamp:
if(ramp(M3,FW,m3pwmch,0,tramp,RAMPRUN)==DONE){
if(ramp(M3,BW,m3pwmch,0,tramp,RAMPRUN)==DONE){
m3st=motStop;
}
break;
@@ -366,23 +366,23 @@ motMov_st m4ch(void){
SetMotPerc(M4,FW,0);
SetMotPerc(M4,BW,0);
if(rtCiclo>=chM4start){
(void)ramp(M4,FW,mrampstart[M4-1],m4pwmch,tramp,RAMPINIT);
(void)ramp(M4,BW,mrampstart[M4-1],m4pwmch,tramp,RAMPINIT);
m4st=motStartRamp;
}
break;
case motStartRamp:
if(ramp(M4,FW,mrampstart[M4-1],m4pwmch,tramp,RAMPRUN)==DONE){
if(ramp(M4,BW,mrampstart[M4-1],m4pwmch,tramp,RAMPRUN)==DONE){
m4st=motWaitingTime;
}
break;
case motWaitingTime:
if(rtCiclo>=chM4stop){
(void)ramp(M4,FW,m4pwmch,0,tramp,RAMPINIT);
(void)ramp(M4,BW,m4pwmch,0,tramp,RAMPINIT);
m4st=motStopRamp;
}
break;
case motStopRamp:
if(ramp(M4,FW,m4pwmch,0,tramp,RAMPRUN)==DONE){
if(ramp(M4,BW,m4pwmch,0,tramp,RAMPRUN)==DONE){
m4st=motStop;
}
break;

Binary file not shown.

View File

@@ -6643,7 +6643,7 @@ motMov_st m1ap(void){
80030ac: 881b ldrh r3, [r3, #0]
80030ae: 429a cmp r2, r3
80030b0: d365 bcc.n 800317e <m1ap+0x162>
(void)ramp(M1,BW,mrampstart[M1-1],m1pwmap,tramp,RAMPINIT);
(void)ramp(M1,FW,mrampstart[M1-1],m1pwmap,tramp,RAMPINIT);
80030b2: 4b3f ldr r3, [pc, #252] @ (80031b0 <m1ap+0x194>)
80030b4: 881b ldrh r3, [r3, #0]
80030b6: b2da uxtb r2, r3
@@ -6657,7 +6657,7 @@ motMov_st m1ap(void){
80030c6: 9001 str r0, [sp, #4]
80030c8: 9300 str r3, [sp, #0]
80030ca: 460b mov r3, r1
80030cc: 2101 movs r1, #1
80030cc: 2100 movs r1, #0
80030ce: 2001 movs r0, #1
80030d0: f001 f9a2 bl 8004418 <ramp>
m1st=motStartRamp;
@@ -6668,7 +6668,7 @@ motMov_st m1ap(void){
break;
80030da: e050 b.n 800317e <m1ap+0x162>
case motStartRamp:
if(ramp(M1,BW,mrampstart[M1-1],m1pwmap,tramp,RAMPRUN)==DONE){
if(ramp(M1,FW,mrampstart[M1-1],m1pwmap,tramp,RAMPRUN)==DONE){
80030dc: 4b34 ldr r3, [pc, #208] @ (80031b0 <m1ap+0x194>)
80030de: 881b ldrh r3, [r3, #0]
80030e0: b2da uxtb r2, r3
@@ -6682,7 +6682,7 @@ motMov_st m1ap(void){
80030f0: 9001 str r0, [sp, #4]
80030f2: 9300 str r3, [sp, #0]
80030f4: 460b mov r3, r1
80030f6: 2101 movs r1, #1
80030f6: 2100 movs r1, #0
80030f8: 2001 movs r0, #1
80030fa: f001 f98d bl 8004418 <ramp>
80030fe: 4603 mov r3, r0
@@ -6704,7 +6704,7 @@ motMov_st m1ap(void){
8003114: 881b ldrh r3, [r3, #0]
8003116: 429a cmp r2, r3
8003118: d335 bcc.n 8003186 <m1ap+0x16a>
(void)ramp(M1,BW,m1pwmap,0,tramp,RAMPINIT);
(void)ramp(M1,FW,m1pwmap,0,tramp,RAMPINIT);
800311a: 4b26 ldr r3, [pc, #152] @ (80031b4 <m1ap+0x198>)
800311c: 881b ldrh r3, [r3, #0]
800311e: b2da uxtb r2, r3
@@ -6715,7 +6715,7 @@ motMov_st m1ap(void){
8003128: 9101 str r1, [sp, #4]
800312a: 9300 str r3, [sp, #0]
800312c: 2300 movs r3, #0
800312e: 2101 movs r1, #1
800312e: 2100 movs r1, #0
8003130: 2001 movs r0, #1
8003132: f001 f971 bl 8004418 <ramp>
m1st=motStopRamp;
@@ -6726,7 +6726,7 @@ motMov_st m1ap(void){
break;
800313c: e023 b.n 8003186 <m1ap+0x16a>
case motStopRamp:
if(ramp(M1,BW,m1pwmap,0,tramp,RAMPRUN)==DONE){
if(ramp(M1,FW,m1pwmap,0,tramp,RAMPRUN)==DONE){
800313e: 4b1d ldr r3, [pc, #116] @ (80031b4 <m1ap+0x198>)
8003140: 881b ldrh r3, [r3, #0]
8003142: b2da uxtb r2, r3
@@ -6737,7 +6737,7 @@ motMov_st m1ap(void){
800314c: 9101 str r1, [sp, #4]
800314e: 9300 str r3, [sp, #0]
8003150: 2300 movs r3, #0
8003152: 2101 movs r1, #1
8003152: 2100 movs r1, #0
8003154: 2001 movs r0, #1
8003156: f001 f95f bl 8004418 <ramp>
800315a: 4603 mov r3, r0
@@ -7109,7 +7109,7 @@ motMov_st m3ap(void){
80033f4: 881b ldrh r3, [r3, #0]
80033f6: 429a cmp r2, r3
80033f8: d365 bcc.n 80034c6 <m3ap+0x162>
(void)ramp(M3,BW,mrampstart[M3-1],m2pwmap,tramp,RAMPINIT);
(void)ramp(M3,FW,mrampstart[M3-1],m2pwmap,tramp,RAMPINIT);
80033fa: 4b3f ldr r3, [pc, #252] @ (80034f8 <m3ap+0x194>)
80033fc: 889b ldrh r3, [r3, #4]
80033fe: b2da uxtb r2, r3
@@ -7123,7 +7123,7 @@ motMov_st m3ap(void){
800340e: 9001 str r0, [sp, #4]
8003410: 9300 str r3, [sp, #0]
8003412: 460b mov r3, r1
8003414: 2101 movs r1, #1
8003414: 2100 movs r1, #0
8003416: 2003 movs r0, #3
8003418: f000 fffe bl 8004418 <ramp>
m3st=motStartRamp;
@@ -7134,7 +7134,7 @@ motMov_st m3ap(void){
break;
8003422: e050 b.n 80034c6 <m3ap+0x162>
case motStartRamp:
if(ramp(M3,BW,mrampstart[M3-1],m3pwmap,tramp,RAMPRUN)==DONE){
if(ramp(M3,FW,mrampstart[M3-1],m3pwmap,tramp,RAMPRUN)==DONE){
8003424: 4b34 ldr r3, [pc, #208] @ (80034f8 <m3ap+0x194>)
8003426: 889b ldrh r3, [r3, #4]
8003428: b2da uxtb r2, r3
@@ -7148,7 +7148,7 @@ motMov_st m3ap(void){
8003438: 9001 str r0, [sp, #4]
800343a: 9300 str r3, [sp, #0]
800343c: 460b mov r3, r1
800343e: 2101 movs r1, #1
800343e: 2100 movs r1, #0
8003440: 2003 movs r0, #3
8003442: f000 ffe9 bl 8004418 <ramp>
8003446: 4603 mov r3, r0
@@ -7170,7 +7170,7 @@ motMov_st m3ap(void){
800345c: 881b ldrh r3, [r3, #0]
800345e: 429a cmp r2, r3
8003460: d335 bcc.n 80034ce <m3ap+0x16a>
(void)ramp(M3,BW,m3pwmap,0,tramp,RAMPINIT);
(void)ramp(M3,FW,m3pwmap,0,tramp,RAMPINIT);
8003462: 4b28 ldr r3, [pc, #160] @ (8003504 <m3ap+0x1a0>)
8003464: 881b ldrh r3, [r3, #0]
8003466: b2da uxtb r2, r3
@@ -7181,7 +7181,7 @@ motMov_st m3ap(void){
8003470: 9101 str r1, [sp, #4]
8003472: 9300 str r3, [sp, #0]
8003474: 2300 movs r3, #0
8003476: 2101 movs r1, #1
8003476: 2100 movs r1, #0
8003478: 2003 movs r0, #3
800347a: f000 ffcd bl 8004418 <ramp>
m3st=motStopRamp;
@@ -7192,7 +7192,7 @@ motMov_st m3ap(void){
break;
8003484: e023 b.n 80034ce <m3ap+0x16a>
case motStopRamp:
if(ramp(M3,BW,m3pwmap,0,tramp,RAMPRUN)==DONE){
if(ramp(M3,FW,m3pwmap,0,tramp,RAMPRUN)==DONE){
8003486: 4b1f ldr r3, [pc, #124] @ (8003504 <m3ap+0x1a0>)
8003488: 881b ldrh r3, [r3, #0]
800348a: b2da uxtb r2, r3
@@ -7203,7 +7203,7 @@ motMov_st m3ap(void){
8003494: 9101 str r1, [sp, #4]
8003496: 9300 str r3, [sp, #0]
8003498: 2300 movs r3, #0
800349a: 2101 movs r1, #1
800349a: 2100 movs r1, #0
800349c: 2003 movs r0, #3
800349e: f000 ffbb bl 8004418 <ramp>
80034a2: 4603 mov r3, r0
@@ -7343,7 +7343,7 @@ motMov_st m4ap(void){
800359c: 881b ldrh r3, [r3, #0]
800359e: 429a cmp r2, r3
80035a0: d365 bcc.n 800366e <m4ap+0x162>
(void)ramp(M4,BW,mrampstart[M4-1],m2pwmap,tramp,RAMPINIT);
(void)ramp(M4,FW,mrampstart[M4-1],m2pwmap,tramp,RAMPINIT);
80035a2: 4b3f ldr r3, [pc, #252] @ (80036a0 <m4ap+0x194>)
80035a4: 88db ldrh r3, [r3, #6]
80035a6: b2da uxtb r2, r3
@@ -7357,7 +7357,7 @@ motMov_st m4ap(void){
80035b6: 9001 str r0, [sp, #4]
80035b8: 9300 str r3, [sp, #0]
80035ba: 460b mov r3, r1
80035bc: 2101 movs r1, #1
80035bc: 2100 movs r1, #0
80035be: 2004 movs r0, #4
80035c0: f000 ff2a bl 8004418 <ramp>
m4st=motStartRamp;
@@ -7368,7 +7368,7 @@ motMov_st m4ap(void){
break;
80035ca: e050 b.n 800366e <m4ap+0x162>
case motStartRamp:
if(ramp(M4,BW,mrampstart[M4-1],m4pwmap,tramp,RAMPRUN)==DONE){
if(ramp(M4,FW,mrampstart[M4-1],m4pwmap,tramp,RAMPRUN)==DONE){
80035cc: 4b34 ldr r3, [pc, #208] @ (80036a0 <m4ap+0x194>)
80035ce: 88db ldrh r3, [r3, #6]
80035d0: b2da uxtb r2, r3
@@ -7382,7 +7382,7 @@ motMov_st m4ap(void){
80035e0: 9001 str r0, [sp, #4]
80035e2: 9300 str r3, [sp, #0]
80035e4: 460b mov r3, r1
80035e6: 2101 movs r1, #1
80035e6: 2100 movs r1, #0
80035e8: 2004 movs r0, #4
80035ea: f000 ff15 bl 8004418 <ramp>
80035ee: 4603 mov r3, r0
@@ -7404,7 +7404,7 @@ motMov_st m4ap(void){
8003604: 881b ldrh r3, [r3, #0]
8003606: 429a cmp r2, r3
8003608: d335 bcc.n 8003676 <m4ap+0x16a>
(void)ramp(M4,BW,m4pwmap,0,tramp,RAMPINIT);
(void)ramp(M4,FW,m4pwmap,0,tramp,RAMPINIT);
800360a: 4b28 ldr r3, [pc, #160] @ (80036ac <m4ap+0x1a0>)
800360c: 881b ldrh r3, [r3, #0]
800360e: b2da uxtb r2, r3
@@ -7415,7 +7415,7 @@ motMov_st m4ap(void){
8003618: 9101 str r1, [sp, #4]
800361a: 9300 str r3, [sp, #0]
800361c: 2300 movs r3, #0
800361e: 2101 movs r1, #1
800361e: 2100 movs r1, #0
8003620: 2004 movs r0, #4
8003622: f000 fef9 bl 8004418 <ramp>
m4st=motStopRamp;
@@ -7426,7 +7426,7 @@ motMov_st m4ap(void){
break;
800362c: e023 b.n 8003676 <m4ap+0x16a>
case motStopRamp:
if(ramp(M4,BW,m4pwmap,0,tramp,RAMPRUN)==DONE){
if(ramp(M4,FW,m4pwmap,0,tramp,RAMPRUN)==DONE){
800362e: 4b1f ldr r3, [pc, #124] @ (80036ac <m4ap+0x1a0>)
8003630: 881b ldrh r3, [r3, #0]
8003632: b2da uxtb r2, r3
@@ -7437,7 +7437,7 @@ motMov_st m4ap(void){
800363c: 9101 str r1, [sp, #4]
800363e: 9300 str r3, [sp, #0]
8003640: 2300 movs r3, #0
8003642: 2101 movs r1, #1
8003642: 2100 movs r1, #0
8003644: 2004 movs r0, #4
8003646: f000 fee7 bl 8004418 <ramp>
800364a: 4603 mov r3, r0
@@ -7577,7 +7577,7 @@ motMov_st m1ch(void){
8003744: 881b ldrh r3, [r3, #0]
8003746: 429a cmp r2, r3
8003748: d365 bcc.n 8003816 <m1ch+0x162>
(void)ramp(M1,FW,mrampstart[M1-1],m1pwmch,tramp,RAMPINIT);
(void)ramp(M1,BW,mrampstart[M1-1],m1pwmch,tramp,RAMPINIT);
800374a: 4b3f ldr r3, [pc, #252] @ (8003848 <m1ch+0x194>)
800374c: 881b ldrh r3, [r3, #0]
800374e: b2da uxtb r2, r3
@@ -7591,7 +7591,7 @@ motMov_st m1ch(void){
800375e: 9001 str r0, [sp, #4]
8003760: 9300 str r3, [sp, #0]
8003762: 460b mov r3, r1
8003764: 2100 movs r1, #0
8003764: 2101 movs r1, #1
8003766: 2001 movs r0, #1
8003768: f000 fe56 bl 8004418 <ramp>
m1st=motStartRamp;
@@ -7602,7 +7602,7 @@ motMov_st m1ch(void){
break;
8003772: e050 b.n 8003816 <m1ch+0x162>
case motStartRamp:
if(ramp(M1,FW,mrampstart[M1-1],m1pwmch,tramp,RAMPRUN)==DONE){
if(ramp(M1,BW,mrampstart[M1-1],m1pwmch,tramp,RAMPRUN)==DONE){
8003774: 4b34 ldr r3, [pc, #208] @ (8003848 <m1ch+0x194>)
8003776: 881b ldrh r3, [r3, #0]
8003778: b2da uxtb r2, r3
@@ -7616,7 +7616,7 @@ motMov_st m1ch(void){
8003788: 9001 str r0, [sp, #4]
800378a: 9300 str r3, [sp, #0]
800378c: 460b mov r3, r1
800378e: 2100 movs r1, #0
800378e: 2101 movs r1, #1
8003790: 2001 movs r0, #1
8003792: f000 fe41 bl 8004418 <ramp>
8003796: 4603 mov r3, r0
@@ -7638,7 +7638,7 @@ motMov_st m1ch(void){
80037ac: 881b ldrh r3, [r3, #0]
80037ae: 429a cmp r2, r3
80037b0: d335 bcc.n 800381e <m1ch+0x16a>
(void)ramp(M1,FW,m1pwmch,0,tramp,RAMPINIT);
(void)ramp(M1,BW,m1pwmch,0,tramp,RAMPINIT);
80037b2: 4b26 ldr r3, [pc, #152] @ (800384c <m1ch+0x198>)
80037b4: 881b ldrh r3, [r3, #0]
80037b6: b2da uxtb r2, r3
@@ -7649,7 +7649,7 @@ motMov_st m1ch(void){
80037c0: 9101 str r1, [sp, #4]
80037c2: 9300 str r3, [sp, #0]
80037c4: 2300 movs r3, #0
80037c6: 2100 movs r1, #0
80037c6: 2101 movs r1, #1
80037c8: 2001 movs r0, #1
80037ca: f000 fe25 bl 8004418 <ramp>
m1st=motStopRamp;
@@ -7660,7 +7660,7 @@ motMov_st m1ch(void){
break;
80037d4: e023 b.n 800381e <m1ch+0x16a>
case motStopRamp:
if(ramp(M1,FW,m1pwmch,0,tramp,RAMPRUN)==DONE){
if(ramp(M1,BW,m1pwmch,0,tramp,RAMPRUN)==DONE){
80037d6: 4b1d ldr r3, [pc, #116] @ (800384c <m1ch+0x198>)
80037d8: 881b ldrh r3, [r3, #0]
80037da: b2da uxtb r2, r3
@@ -7671,7 +7671,7 @@ motMov_st m1ch(void){
80037e4: 9101 str r1, [sp, #4]
80037e6: 9300 str r3, [sp, #0]
80037e8: 2300 movs r3, #0
80037ea: 2100 movs r1, #0
80037ea: 2101 movs r1, #1
80037ec: 2001 movs r0, #1
80037ee: f000 fe13 bl 8004418 <ramp>
80037f2: 4603 mov r3, r0
@@ -8045,7 +8045,7 @@ motMov_st m3ch(void){
8003a8c: 881b ldrh r3, [r3, #0]
8003a8e: 429a cmp r2, r3
8003a90: d365 bcc.n 8003b5e <m3ch+0x162>
(void)ramp(M3,FW,mrampstart[M3-1],m2pwmch,tramp,RAMPINIT);
(void)ramp(M3,BW,mrampstart[M3-1],m2pwmch,tramp,RAMPINIT);
8003a92: 4b3f ldr r3, [pc, #252] @ (8003b90 <m3ch+0x194>)
8003a94: 889b ldrh r3, [r3, #4]
8003a96: b2da uxtb r2, r3
@@ -8059,7 +8059,7 @@ motMov_st m3ch(void){
8003aa6: 9001 str r0, [sp, #4]
8003aa8: 9300 str r3, [sp, #0]
8003aaa: 460b mov r3, r1
8003aac: 2100 movs r1, #0
8003aac: 2101 movs r1, #1
8003aae: 2003 movs r0, #3
8003ab0: f000 fcb2 bl 8004418 <ramp>
m3st=motStartRamp;
@@ -8070,7 +8070,7 @@ motMov_st m3ch(void){
break;
8003aba: e050 b.n 8003b5e <m3ch+0x162>
case motStartRamp:
if(ramp(M3,FW,mrampstart[M3-1],m3pwmch,tramp,RAMPRUN)==DONE){
if(ramp(M3,BW,mrampstart[M3-1],m3pwmch,tramp,RAMPRUN)==DONE){
8003abc: 4b34 ldr r3, [pc, #208] @ (8003b90 <m3ch+0x194>)
8003abe: 889b ldrh r3, [r3, #4]
8003ac0: b2da uxtb r2, r3
@@ -8084,7 +8084,7 @@ motMov_st m3ch(void){
8003ad0: 9001 str r0, [sp, #4]
8003ad2: 9300 str r3, [sp, #0]
8003ad4: 460b mov r3, r1
8003ad6: 2100 movs r1, #0
8003ad6: 2101 movs r1, #1
8003ad8: 2003 movs r0, #3
8003ada: f000 fc9d bl 8004418 <ramp>
8003ade: 4603 mov r3, r0
@@ -8106,7 +8106,7 @@ motMov_st m3ch(void){
8003af4: 881b ldrh r3, [r3, #0]
8003af6: 429a cmp r2, r3
8003af8: d335 bcc.n 8003b66 <m3ch+0x16a>
(void)ramp(M3,FW,m3pwmch,0,tramp,RAMPINIT);
(void)ramp(M3,BW,m3pwmch,0,tramp,RAMPINIT);
8003afa: 4b28 ldr r3, [pc, #160] @ (8003b9c <m3ch+0x1a0>)
8003afc: 881b ldrh r3, [r3, #0]
8003afe: b2da uxtb r2, r3
@@ -8117,7 +8117,7 @@ motMov_st m3ch(void){
8003b08: 9101 str r1, [sp, #4]
8003b0a: 9300 str r3, [sp, #0]
8003b0c: 2300 movs r3, #0
8003b0e: 2100 movs r1, #0
8003b0e: 2101 movs r1, #1
8003b10: 2003 movs r0, #3
8003b12: f000 fc81 bl 8004418 <ramp>
m3st=motStopRamp;
@@ -8128,7 +8128,7 @@ motMov_st m3ch(void){
break;
8003b1c: e023 b.n 8003b66 <m3ch+0x16a>
case motStopRamp:
if(ramp(M3,FW,m3pwmch,0,tramp,RAMPRUN)==DONE){
if(ramp(M3,BW,m3pwmch,0,tramp,RAMPRUN)==DONE){
8003b1e: 4b1f ldr r3, [pc, #124] @ (8003b9c <m3ch+0x1a0>)
8003b20: 881b ldrh r3, [r3, #0]
8003b22: b2da uxtb r2, r3
@@ -8139,7 +8139,7 @@ motMov_st m3ch(void){
8003b2c: 9101 str r1, [sp, #4]
8003b2e: 9300 str r3, [sp, #0]
8003b30: 2300 movs r3, #0
8003b32: 2100 movs r1, #0
8003b32: 2101 movs r1, #1
8003b34: 2003 movs r0, #3
8003b36: f000 fc6f bl 8004418 <ramp>
8003b3a: 4603 mov r3, r0
@@ -8280,7 +8280,7 @@ motMov_st m4ch(void){
8003c34: 881b ldrh r3, [r3, #0]
8003c36: 429a cmp r2, r3
8003c38: d365 bcc.n 8003d06 <m4ch+0x162>
(void)ramp(M4,FW,mrampstart[M4-1],m4pwmch,tramp,RAMPINIT);
(void)ramp(M4,BW,mrampstart[M4-1],m4pwmch,tramp,RAMPINIT);
8003c3a: 4b3f ldr r3, [pc, #252] @ (8003d38 <m4ch+0x194>)
8003c3c: 88db ldrh r3, [r3, #6]
8003c3e: b2da uxtb r2, r3
@@ -8294,7 +8294,7 @@ motMov_st m4ch(void){
8003c4e: 9001 str r0, [sp, #4]
8003c50: 9300 str r3, [sp, #0]
8003c52: 460b mov r3, r1
8003c54: 2100 movs r1, #0
8003c54: 2101 movs r1, #1
8003c56: 2004 movs r0, #4
8003c58: f000 fbde bl 8004418 <ramp>
m4st=motStartRamp;
@@ -8305,7 +8305,7 @@ motMov_st m4ch(void){
break;
8003c62: e050 b.n 8003d06 <m4ch+0x162>
case motStartRamp:
if(ramp(M4,FW,mrampstart[M4-1],m4pwmch,tramp,RAMPRUN)==DONE){
if(ramp(M4,BW,mrampstart[M4-1],m4pwmch,tramp,RAMPRUN)==DONE){
8003c64: 4b34 ldr r3, [pc, #208] @ (8003d38 <m4ch+0x194>)
8003c66: 88db ldrh r3, [r3, #6]
8003c68: b2da uxtb r2, r3
@@ -8319,7 +8319,7 @@ motMov_st m4ch(void){
8003c78: 9001 str r0, [sp, #4]
8003c7a: 9300 str r3, [sp, #0]
8003c7c: 460b mov r3, r1
8003c7e: 2100 movs r1, #0
8003c7e: 2101 movs r1, #1
8003c80: 2004 movs r0, #4
8003c82: f000 fbc9 bl 8004418 <ramp>
8003c86: 4603 mov r3, r0
@@ -8341,7 +8341,7 @@ motMov_st m4ch(void){
8003c9c: 881b ldrh r3, [r3, #0]
8003c9e: 429a cmp r2, r3
8003ca0: d335 bcc.n 8003d0e <m4ch+0x16a>
(void)ramp(M4,FW,m4pwmch,0,tramp,RAMPINIT);
(void)ramp(M4,BW,m4pwmch,0,tramp,RAMPINIT);
8003ca2: 4b26 ldr r3, [pc, #152] @ (8003d3c <m4ch+0x198>)
8003ca4: 881b ldrh r3, [r3, #0]
8003ca6: b2da uxtb r2, r3
@@ -8352,7 +8352,7 @@ motMov_st m4ch(void){
8003cb0: 9101 str r1, [sp, #4]
8003cb2: 9300 str r3, [sp, #0]
8003cb4: 2300 movs r3, #0
8003cb6: 2100 movs r1, #0
8003cb6: 2101 movs r1, #1
8003cb8: 2004 movs r0, #4
8003cba: f000 fbad bl 8004418 <ramp>
m4st=motStopRamp;
@@ -8363,7 +8363,7 @@ motMov_st m4ch(void){
break;
8003cc4: e023 b.n 8003d0e <m4ch+0x16a>
case motStopRamp:
if(ramp(M4,FW,m4pwmch,0,tramp,RAMPRUN)==DONE){
if(ramp(M4,BW,m4pwmch,0,tramp,RAMPRUN)==DONE){
8003cc6: 4b1d ldr r3, [pc, #116] @ (8003d3c <m4ch+0x198>)
8003cc8: 881b ldrh r3, [r3, #0]
8003cca: b2da uxtb r2, r3
@@ -8374,7 +8374,7 @@ motMov_st m4ch(void){
8003cd4: 9101 str r1, [sp, #4]
8003cd6: 9300 str r3, [sp, #0]
8003cd8: 2300 movs r3, #0
8003cda: 2100 movs r1, #0
8003cda: 2101 movs r1, #1
8003cdc: 2004 movs r0, #4
8003cde: f000 fb9b bl 8004418 <ramp>
8003ce2: 4603 mov r3, r0