first commit
This commit is contained in:
13
MPU6050/APP/pwm.h
Normal file
13
MPU6050/APP/pwm.h
Normal file
@ -0,0 +1,13 @@
|
||||
#ifndef _PWM_H
|
||||
#define _PWM_H
|
||||
|
||||
#include "system.h"
|
||||
|
||||
#define M_Enable GPIO_SetBits(GPIOC,GPIO_Pin_14);
|
||||
#define M_Disable GPIO_ResetBits(GPIOC,GPIO_Pin_14);
|
||||
extern uint32_t time1_cntr;
|
||||
extern uint32_t time2_cntr;
|
||||
void TIM2_PWM_Init(void);
|
||||
void TIM4_1ms_Init(void);
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user