BeRTOS
cfg_dc_motor.h
Go to the documentation of this file.
00001 
00039 #ifndef CFG_DC_MOTOR_H
00040 #define CFG_DC_MOTOR_H
00041 
00048 #define CONFIG_NUM_DC_MOTOR       4
00049 
00056 #define DC_MOTOR_LOG_LEVEL      LOG_LVL_INFO
00057 
00064 #define DC_MOTOR_LOG_FORMAT     LOG_FMT_VERBOSE
00065 
00066 
00074 #define CONFIG_DC_MOTOR_MIN_SPEED              0
00075 
00076 
00085 #define CONFIG_DC_MOTOR_MAX_SPEED         65535
00086 
00087 
00092 #define CONFIG_DC_MOTOR_SAMPLE_PERIOD     40
00093 
00098 #define CONFIG_DC_MOTOR_SAMPLE_DELAY       2
00099 
00109 #define CONFIG_DC_MOTOR_USE_SEM            1
00110 
00111 #endif /* CFG_DC_MOTOR_H */