SmartCar-V1/Code/bsp/inc/bsp_motor.h

23 lines
350 B
C

#ifndef __BSP_MOTOR_H__
#define __BSP_MOTOR_H__
#include <stdint.h>
void bsp_InitMotor(void);
void bsp_AIN1_ON(void);
void bsp_AIN1_OFF(void);
void bsp_AIN2_ON(void);
void bsp_AIN2_OFF(void);
void bsp_BIN1_ON(void);
void bsp_BIN1_OFF(void);
void bsp_BIN2_ON(void);
void bsp_BIN2_OFF(void);
void bsp_changeMotorSpeed(uint16_t Compare);
#endif