#include "stdint.h"
Go to the source code of this file.
Data Structures | |
struct | Elevator |
Elevator elevator.h. More... | |
Typedefs | |
typedef enum cartState_t | cartState_t |
cartState_t elevator.h More... | |
typedef enum direction_t | direction_t |
direction_t elevator.h More... | |
typedef enum door_t | door_t |
door_t elevator.h More... | |
typedef struct Elevator | Elevator |
Elevator elevator.h. More... | |
Enumerations | |
enum | cartState_t { IDLE = 0 , MOVE = 1 , STOP = 2 , EMERGENCY = -1 } |
cartState_t elevator.h More... | |
enum | direction_t { DOWN = 0 , UP = 1 , NONE = -1 } |
direction_t elevator.h More... | |
enum | door_t { OPEN = 0 , CLOSE = 1 } |
door_t elevator.h More... | |
typedef enum cartState_t cartState_t |
cartState_t elevator.h
This is a custom enumeration for the cart state cartState_t
typedef enum direction_t direction_t |
direction_t elevator.h
This is a custom enumeration for the direction state direction_t
This is a custom structure for the Elevator
enum cartState_t |
cartState_t elevator.h
This is a custom enumeration for the cart state cartState_t
Enumerator | |
---|---|
IDLE | |
MOVE | |
STOP | |
EMERGENCY |
enum direction_t |
direction_t elevator.h
This is a custom enumeration for the direction state direction_t
Enumerator | |
---|---|
DOWN | |
UP | |
NONE |