52#ifndef DOXYGEN_SHOULD_SKIP_INTERNALS
61 volatile unsigned char sum;
kernel configuration file
const unsigned char dm_a_pattern[4]
motor drive patterns
void motor_c_speed(unsigned char speed)
set motor C speed
void motor_b_speed(unsigned char speed)
set motor B speed
MotorState dm_b
motor B state
const unsigned char dm_b_pattern[4]
MotorState dm_a
motor A state
void motor_b_dir(MotorDirection dir)
set motor B direction to dir
const unsigned char dm_c_pattern[4]
MotorState dm_c
motor C state
MotorDirection
the motor directions
@ brake
hold current position
void motor_a_dir(MotorDirection dir)
set motor A direction to dir
void motor_c_dir(MotorDirection dir)
set motor C direction to dir
void motor_a_speed(unsigned char speed)
set motor A speed
volatile unsigned char sum
running sum
unsigned char dir
output pattern when sum overflows
union MotorState::@0 access
provides access from C and assembler
unsigned char delta
the speed setting
struct MotorState::@0::@1 c
unsigned assembler
assures word alignment for assembler