You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
438 B
15 lines
438 B
#ifndef __PRU_MOTORS_MODULE_HEADER__
|
|
#define __PRU_MOTORS_MODULE_HEADER__
|
|
|
|
#include "pru_time.h"
|
|
#include "../pwmss/sys_pwmss.h"
|
|
|
|
#define VERTICAL_MOTOR_SET_POINT 4000 // period of 50KHz by 5 nSec periods
|
|
#define HORISONTAL_MOTOR_SET_POINT 40000 // period of 5KHz by 5 nSec periods
|
|
|
|
void initVerticalMotor( void );
|
|
void initHorizontalMotor( void );
|
|
void stopHorizontalMotor( void );
|
|
void stopVerticalMotor( void );
|
|
|
|
#endif
|