From 0f57e7c23cf5e9542992b12edbb279e1b3ac7083 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sat, 9 Oct 2010 14:18:52 +0200 Subject: replace unused PwnFreq IOMap with RegulationTime --- AT91SAM7S256/Source/d_output.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'AT91SAM7S256/Source/d_output.h') diff --git a/AT91SAM7S256/Source/d_output.h b/AT91SAM7S256/Source/d_output.h index 1778414..1c24db0 100644 --- a/AT91SAM7S256/Source/d_output.h +++ b/AT91SAM7S256/Source/d_output.h @@ -39,6 +39,8 @@ #endif +#define REGULATION_TIME 100 // Measured in 1 mS, regulation interval + //Constant reffering to RegMode parameter #define REGSTATE_IDLE 0x00 #define REGSTATE_REGULATED 0x01 @@ -74,6 +76,7 @@ void dOutputResetTachoLimit(UBYTE MotorNr); void dOutputResetBlockTachoLimit(UBYTE MotorNr); void dOutputResetRotationCaptureCount(UBYTE MotorNr); void dOutputSetPIDParameters(UBYTE MotorNr, UBYTE NewRegPParameter, UBYTE NewRegIParameter, UBYTE NewRegDParameter); +void dOutputSetRegulationTime(UBYTE NewRegulationTime); void dOutputRegulateMotor(UBYTE MotorNr); void dOutputCalculateRampUpParameter(UBYTE MotorNr, ULONG NewTachoLimit); -- cgit v1.2.3