Default Anti-pinch detection parameters

This is the window lift areas definitions (Height, Active/inactive areas). More...

Defines

#define PINCH_THRES   80
 Newton value, Threshold added to reference for comparison with motor current.
#define GAIN   27
 GAIN : Necessary to determine PINCH value.
#define PINCH   (unsigned char)(GAIN * PINCH_THRES >> 5)
 Default Comparison Value (computed to be in range with ADC gain) Right shifted after computation (because gain was left shifted).

Detailed Description

This is the window lift areas definitions (Height, Active/inactive areas).


Define Documentation

#define PINCH_THRES   80

Newton value, Threshold added to reference for comparison with motor current.

Definition at line 65 of file window_lib.h.

#define GAIN   27

GAIN : Necessary to determine PINCH value.

Should be left Shifter before being defined here. with :

Definition at line 70 of file window_lib.h.

#define PINCH   (unsigned char)(GAIN * PINCH_THRES >> 5)

Default Comparison Value (computed to be in range with ADC gain) Right shifted after computation (because gain was left shifted).

Definition at line 80 of file window_lib.h.


Generated on Mon May 28 20:26:50 2007 for WINDOWLIFTLIBRARY by  doxygen 1.4.7