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). | |
| #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.
1.4.7