Window lift control state machine definitions

This is the window lift state machine definitions. More...

Defines

#define STOP_STATE   0
 Window lift stopped: waiting up/down commands.
#define START_UP_STATE   1
 Transient state: waiting mechanical backlash end.
#define GO_UP_STATE   2
 Window is moving up: Monitor position & current.
#define OBSTRUCT_STATE   3
 Pinching condition has been met by current monitoring: check postion vs pinch area.
#define PINCH_STATE   4
 Pinch Confirmed: Reverse window movement (Standard behavior).
#define REVERSE_STATE   5
 Waiting reverse movement end: monitors position is down to pinch area.
#define STOPING_STATE   6
 Waiting motor to be stopped (Timeout).
#define GO_DOWN_STATE   7
 Window is moving down.

Detailed Description

This is the window lift state machine definitions.


Define Documentation

#define STOP_STATE   0

Window lift stopped: waiting up/down commands.

Definition at line 123 of file window_lib.h.

Referenced by blocking_point(), init_window_size_position(), save_window_parameters(), and window_ctrl().

#define START_UP_STATE   1

Transient state: waiting mechanical backlash end.

Definition at line 125 of file window_lib.h.

Referenced by window_ctrl().

#define GO_UP_STATE   2

Window is moving up: Monitor position & current.

Definition at line 127 of file window_lib.h.

Referenced by blocking_point(), and window_ctrl().

#define OBSTRUCT_STATE   3

Pinching condition has been met by current monitoring: check postion vs pinch area.

Definition at line 129 of file window_lib.h.

Referenced by window_ctrl().

#define PINCH_STATE   4

Pinch Confirmed: Reverse window movement (Standard behavior).

Definition at line 132 of file window_lib.h.

Referenced by window_ctrl().

#define REVERSE_STATE   5

Waiting reverse movement end: monitors position is down to pinch area.

Definition at line 134 of file window_lib.h.

Referenced by window_ctrl().

#define STOPING_STATE   6

Waiting motor to be stopped (Timeout).

Definition at line 136 of file window_lib.h.

Referenced by blocking_point(), init_window_size_position(), and window_ctrl().

#define GO_DOWN_STATE   7

Window is moving down.

Definition at line 138 of file window_lib.h.

Referenced by init_window_size_position(), and window_ctrl().


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