52 #ifndef DOXYGEN_SHOULD_SKIP_INTERNALS
61 volatile unsigned char sum;
69 #endif // DOXYGEN_SHOULD_SKIP_INTERNALS
118 dm_a.
dir = dm_a_pattern[dir];
126 dm_b.
dir = dm_b_pattern[dir];
134 dm_c.
dir = dm_c_pattern[dir];
137 #endif // ifdef CONF_VIS
164 #endif // CONF_DMOTOR
170 #endif // __dmotor_h__
struct MotorState::@0::@1 c
MotorState dm_c
motor C state
void motor_a_speed(unsigned char speed)
set motor A speed
void motor_b_dir(MotorDirection dir)
set motor B direction to dir
MotorState dm_a
motor A state
kernel configuration file
unsigned char dir
output pattern when sum overflows
unsigned assembler
assures word alignment for assembler
void motor_c_dir(MotorDirection dir)
set motor C direction to dir
const unsigned char dm_b_pattern[4]
union MotorState::@0 access
provides access from C and assembler
MotorState dm_b
motor B state
void motor_a_dir(MotorDirection dir)
set motor A direction to dir
const unsigned char dm_c_pattern[4]
volatile unsigned char sum
running sum
unsigned char delta
the speed setting
MotorDirection
the motor directions
void motor_b_speed(unsigned char speed)
set motor B speed
void motor_c_speed(unsigned char speed)
set motor C speed
const unsigned char dm_a_pattern[4]
motor drive patterns