|
Commonly used types and defines used by Motor MUX drivers. More...
Go to the source code of this file.
Data Structures | |
struct | mmuxDataT |
Defines | |
#define | SPORT(X) X / 4 |
#define | MPORT(X) X % 4 |
Enumerations | |
enum | tMUXmotor { mmotor_S1_1 = 0, mmotor_S1_2 = 1, mmotor_S1_3 = 2, mmotor_S1_4 = 3, mmotor_S2_1 = 4, mmotor_S2_2 = 5, mmotor_S2_3 = 6, mmotor_S2_4 = 7, mmotor_S3_1 = 8, mmotor_S3_2 = 9, mmotor_S3_3 = 10, mmotor_S3_4 = 11, mmotor_S4_1 = 12, mmotor_S4_2 = 13, mmotor_S4_3 = 14, mmotor_S4_4 = 15 } |
Variables | |
mmuxDataT | mmuxData [4] |
Commonly used types and defines used by Motor MUX drivers.
common-MMUX.h provides a number of frequently used types and defines that are useful for writing Motor MUX drivers.
License: You may use this code as you wish, provided you give credit where its due.
THIS CODE WILL ONLY WORK WITH ROBOTC VERSION 3.59 AND HIGHER.
Changelog:
Definition in file common-mmux.h.