65 #ifdef BOARD_OLIMEX_STM32_P103
67 #define VEX_PWM_PORT GPIOC
69 #define VEX_EBL_T0_N_PIN 0
70 #define VEX_EBL_T0_P_PIN 1
71 #define VEX_EBL_T9_N_PIN 2
72 #define VEX_EBL_T9_P_PIN 3
74 #define VEX_PWM_T0_N_PIN 6
75 #define VEX_PWM_T0_P_PIN 7
76 #define VEX_PWM_T9_N_PIN 8
77 #define VEX_PWM_T9_P_PIN 9
81 #define VEX_PWM_PORT GPIOD
83 #define VEX_EBL_T0_N_PIN 3
84 #define VEX_EBL_T0_P_PIN 4
85 #define VEX_EBL_T9_N_PIN 7
86 #define VEX_EBL_T9_P_PIN 8
88 #define VEX_PWM_T0_N_PIN 12
89 #define VEX_PWM_T0_P_PIN 13
90 #define VEX_PWM_T9_N_PIN 14
91 #define VEX_PWM_T9_P_PIN 15
126 #define kVexMotorNormal FALSE
127 #define kVexMotorReversed TRUE
163 void _vexMotorPwmInit( TIM_TypeDef *tim );
165 void _vexMotorPwmSet_0( int16_t value );
167 void _vexMotorPwmSet_9( int16_t value );