From 7b66c5e1238ce5b45c40fed393fc3ac119b16f4a Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sat, 9 Oct 2010 13:53:55 +0200 Subject: add absolute position control --- AT91SAM7S256/Source/c_output.iom | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'AT91SAM7S256/Source/c_output.iom') diff --git a/AT91SAM7S256/Source/c_output.iom b/AT91SAM7S256/Source/c_output.iom index fc26efd..794f7de 100644 --- a/AT91SAM7S256/Source/c_output.iom +++ b/AT91SAM7S256/Source/c_output.iom @@ -49,9 +49,10 @@ enum // Constant related to RegMode enum { - REGULATION_MODE_IDLE, - REGULATION_MODE_MOTOR_SPEED, - REGULATION_MODE_MOTOR_SYNC + REGULATION_MODE_IDLE = 0, + REGULATION_MODE_MOTOR_SPEED = 1, + REGULATION_MODE_MOTOR_SYNC = 2, + REGULATION_MODE_MOTOR_POS = 4, }; typedef struct -- cgit v1.2.3