From 6c5075bc99ba07f46562f7f10db14e153d7a93ec Mon Sep 17 00:00:00 2001 From: jhansen Date: Mon, 26 Apr 2010 21:49:44 +0000 Subject: git-svn-id: https://mindboards.svn.sourceforge.net/svnroot/mindboards/lms_nbcnxc_128/trunk@6 c9361245-7fe8-9947-84e8-057757c4e366 --- AT91SAM7S256/Source/c_output.iom | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'AT91SAM7S256/Source/c_output.iom') diff --git a/AT91SAM7S256/Source/c_output.iom b/AT91SAM7S256/Source/c_output.iom index 80e35de..f6191bf 100644 --- a/AT91SAM7S256/Source/c_output.iom +++ b/AT91SAM7S256/Source/c_output.iom @@ -27,6 +27,9 @@ enum REG_METHOD = 0xF0 /* Regulation methods - to be designed! */ }; +#define OPTION_HOLDATLIMIT 0x10 +#define OPTION_RAMPDOWNTOLIMIT 0x20 + // Constants related to Flags enum { @@ -72,7 +75,7 @@ typedef struct UBYTE RegMode; /* RW - Tells which regulation mode should be used */ UBYTE Overloaded; /* R - True if the motor has been overloaded within speed control regulation */ SBYTE SyncTurnParameter; /* RW - Holds the turning parameter need within MoveBlock */ - UBYTE SpareOne; + UBYTE Options; UBYTE SpareTwo; UBYTE SpareThree; }OUTPUT; @@ -81,7 +84,7 @@ typedef struct typedef struct { OUTPUT Outputs[NO_OF_OUTPUTS]; - UBYTE PwnFreq; + UBYTE PwnFreq; // use for frequency of checking regulation mode }IOMAPOUTPUT; -- cgit v1.2.3