#include <dmotor.h>
Collaboration diagram for MotorState:
Public Attributes | |
union { | |
unsigned assembler | |
struct { | |
unsigned char delta | |
volatile unsigned char sum | |
} c | |
} | access |
provides access from C and assembler. More... | |
unsigned char | dir |
output pattern when sum overflows. More... |
Definition at line 54 of file dmotor.h.
|
provides access from C and assembler.
Referenced by motor_a_speed(), motor_b_speed(), and motor_c_speed(). |
|
assures word alignment for assembler.
|
|
|
|
the speed setting.
|
|
output pattern when sum overflows.
|
|
running sum.
|
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2002 by the authors. |