/** * \file * * * \brief DC motor hardware-specific definitions * * * \author Daniele Basile */ #ifndef HW_DC_MOTOR_H #define HW_DC_MOTOR_H typedef enum MotorDCMap { /* Put here motor dc declaration */ MOTOR_DC_CNT } MotorDCMap; /* * Init all pin and device to manage dc motor. */ #define MOTOR_DC_INIT() \ do { \ /* Implement me! */ \ } while (0) /* * Enable DC motor. */ #define DC_MOTOR_ENABLE(dev) \ do { \ /* Implement me! */ \ } while (0) /* * Disable DC motor. */ #define DC_MOTOR_DISABLE(dev) \ do { \ /* Implement me! */ \ } while (0) /* * Set direction for DC motor. */ #define DC_MOTOR_SET_DIR(dev, dir) \ do { \ /* Implement me! */ \ } while (0) #endif /* HW_DC_MOTOR_H */