ricreato il link mancante
RoboClaw/registers.h@4:31695331ce17, 2022-01-10 (annotated)
- Committer:
- marcodesilva
- Date:
- Mon Jan 10 20:38:41 2022 +0000
- Revision:
- 4:31695331ce17
compila al 10/01/2022, da testare sul tool
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
marcodesilva | 4:31695331ce17 | 1 | #define ADR 0x80 |
marcodesilva | 4:31695331ce17 | 2 | #define M1FORWARD 0 |
marcodesilva | 4:31695331ce17 | 3 | #define M1BACKWARD 1 |
marcodesilva | 4:31695331ce17 | 4 | #define SETMINMB 2 |
marcodesilva | 4:31695331ce17 | 5 | #define SETMAXMB 3 |
marcodesilva | 4:31695331ce17 | 6 | #define M2FORWARD 4 |
marcodesilva | 4:31695331ce17 | 7 | #define M2BACKWARD 5 |
marcodesilva | 4:31695331ce17 | 8 | #define M17BIT 6 |
marcodesilva | 4:31695331ce17 | 9 | #define M27BIT 7 |
marcodesilva | 4:31695331ce17 | 10 | #define MIXEDFORWARD 8 |
marcodesilva | 4:31695331ce17 | 11 | #define MIXEDBACKWARD 9 |
marcodesilva | 4:31695331ce17 | 12 | #define MIXEDRIGHT 10 |
marcodesilva | 4:31695331ce17 | 13 | #define MIXEDLEFT 11 |
marcodesilva | 4:31695331ce17 | 14 | #define MIXEDFB 12 |
marcodesilva | 4:31695331ce17 | 15 | #define MIXEDLR 13 |
marcodesilva | 4:31695331ce17 | 16 | #define GETM1ENC 16 |
marcodesilva | 4:31695331ce17 | 17 | #define GETM2ENC 17 |
marcodesilva | 4:31695331ce17 | 18 | #define GETM1SPEED 18 |
marcodesilva | 4:31695331ce17 | 19 | #define GETM2SPEED 19 |
marcodesilva | 4:31695331ce17 | 20 | #define RESETENC 20 |
marcodesilva | 4:31695331ce17 | 21 | #define GETVERSION 21 |
marcodesilva | 4:31695331ce17 | 22 | #define SETM1ENCCOUNT 22 |
marcodesilva | 4:31695331ce17 | 23 | #define SETM2ENCCOUNT 23 |
marcodesilva | 4:31695331ce17 | 24 | #define GETMBATT 24 |
marcodesilva | 4:31695331ce17 | 25 | #define GETLBATT 25 |
marcodesilva | 4:31695331ce17 | 26 | #define SETMINLB 26 |
marcodesilva | 4:31695331ce17 | 27 | #define SETMAXLB 27 |
marcodesilva | 4:31695331ce17 | 28 | #define SETM1PID 28 |
marcodesilva | 4:31695331ce17 | 29 | #define SETM2PID 29 |
marcodesilva | 4:31695331ce17 | 30 | #define GETM1ISPEED 30 |
marcodesilva | 4:31695331ce17 | 31 | #define GETM2ISPEED 31 |
marcodesilva | 4:31695331ce17 | 32 | #define M1DUTY 32 |
marcodesilva | 4:31695331ce17 | 33 | #define M2DUTY 33 |
marcodesilva | 4:31695331ce17 | 34 | #define MIXEDDUTY 34 |
marcodesilva | 4:31695331ce17 | 35 | #define M1SPEED 35 |
marcodesilva | 4:31695331ce17 | 36 | #define M2SPEED 36 |
marcodesilva | 4:31695331ce17 | 37 | #define MIXEDSPEED 37 |
marcodesilva | 4:31695331ce17 | 38 | #define M1SPEEDACCEL 38 |
marcodesilva | 4:31695331ce17 | 39 | #define M2SPEEDACCEL 39 |
marcodesilva | 4:31695331ce17 | 40 | #define MIXEDSPEEDACCEL 40 |
marcodesilva | 4:31695331ce17 | 41 | #define M1SPEEDDIST 41 |
marcodesilva | 4:31695331ce17 | 42 | #define M2SPEEDDIST 42 |
marcodesilva | 4:31695331ce17 | 43 | #define MIXEDSPEEDDIST 43 |
marcodesilva | 4:31695331ce17 | 44 | #define M1SPEEDACCELDIST 44 |
marcodesilva | 4:31695331ce17 | 45 | #define M2SPEEDACCELDIST 45 |
marcodesilva | 4:31695331ce17 | 46 | #define MIXEDSPEEDACCELDIST 46 |
marcodesilva | 4:31695331ce17 | 47 | #define GETBUFFERS 47 |
marcodesilva | 4:31695331ce17 | 48 | #define GETCURRENTS 49 |
marcodesilva | 4:31695331ce17 | 49 | #define MIXEDSPEED2ACCEL 50 |
marcodesilva | 4:31695331ce17 | 50 | #define MIXEDSPEED2ACCELDIST 51 |
marcodesilva | 4:31695331ce17 | 51 | #define M1DUTYACCEL 52 |
marcodesilva | 4:31695331ce17 | 52 | #define M2DUTYACCEL 53 |
marcodesilva | 4:31695331ce17 | 53 | #define MIXEDDUTYACCEL 54 |
marcodesilva | 4:31695331ce17 | 54 | #define READM1PID 55 |
marcodesilva | 4:31695331ce17 | 55 | #define READM2PID 56 |
marcodesilva | 4:31695331ce17 | 56 | #define SETMAINVOLTAGES 57 |
marcodesilva | 4:31695331ce17 | 57 | #define SETLOGICVOLTAGES 58 |
marcodesilva | 4:31695331ce17 | 58 | #define GETMINMAXMAINVOLTAGES 59 |
marcodesilva | 4:31695331ce17 | 59 | #define GETMINMAXLOGICVOLTAGES 60 |
marcodesilva | 4:31695331ce17 | 60 | #define SETM1POSPID 61 |
marcodesilva | 4:31695331ce17 | 61 | #define SETM2POSPID 62 |
marcodesilva | 4:31695331ce17 | 62 | #define READM1POSPID 63 |
marcodesilva | 4:31695331ce17 | 63 | #define READM2POSPID 64 |
marcodesilva | 4:31695331ce17 | 64 | #define M1SPEEDACCELDECCELPOS 65 |
marcodesilva | 4:31695331ce17 | 65 | #define M2SPEEDACCELDECCELPOS 66 |
marcodesilva | 4:31695331ce17 | 66 | #define MIXEDSPEEDACCELDECCELPOS 67 |
marcodesilva | 4:31695331ce17 | 67 | #define SETM1DEFAULTACCEL 68 |
marcodesilva | 4:31695331ce17 | 68 | #define SETM2DEFAULTACCEL 69 |
marcodesilva | 4:31695331ce17 | 69 | #define SETPINFUNCTIONS 74 |
marcodesilva | 4:31695331ce17 | 70 | #define GETPINFUNCTIONS 75 |
marcodesilva | 4:31695331ce17 | 71 | #define RESTOREDEFAULTS 80 |
marcodesilva | 4:31695331ce17 | 72 | #define GETTEMP 82 |
marcodesilva | 4:31695331ce17 | 73 | #define GETTEMP2 83 |
marcodesilva | 4:31695331ce17 | 74 | #define GETERROR 90 |
marcodesilva | 4:31695331ce17 | 75 | #define GETENCODERMODE 91 |
marcodesilva | 4:31695331ce17 | 76 | #define SETM1ENCODERMODE 92 |
marcodesilva | 4:31695331ce17 | 77 | #define SETM2ENCODERMODE 93 |
marcodesilva | 4:31695331ce17 | 78 | #define WRITENVM 94 |
marcodesilva | 4:31695331ce17 | 79 | #define READNVM 95 |
marcodesilva | 4:31695331ce17 | 80 | #define SETCONFIG 98 |
marcodesilva | 4:31695331ce17 | 81 | #define GETCONFIG 99 |
marcodesilva | 4:31695331ce17 | 82 | #define SETM1MAXCURRENT 133 |
marcodesilva | 4:31695331ce17 | 83 | #define SETM2MAXCURRENT 134 |
marcodesilva | 4:31695331ce17 | 84 | #define GETM1MAXCURRENT 135 |
marcodesilva | 4:31695331ce17 | 85 | #define GETM2MAXCURRENT 136 |
marcodesilva | 4:31695331ce17 | 86 | #define SETPWMMODE 148 |
marcodesilva | 4:31695331ce17 | 87 | #define GETPWMMODE 149 |