matlab_23550/Inu/Src2/main/PWMTools.h

20 lines
367 B
C
Raw Normal View History

2024-12-27 10:50:32 +03:00
#ifndef PWMTOOLS_H
#define PWMTOOLS_H
#include "f281xpwm.h"
void InitXPWM(void);
void InitPWM(void);
void PWM_interrupt(void);
void initPWM_Variables(void);
void slow_vector_update(void);
extern PWMGEND pwmd;
extern int VAR_FREQ_PWM_XTICS;
extern int VAR_PERIOD_MAX_XTICS;
extern int VAR_PERIOD_MIN_XTICS;
extern int VAR_PERIOD_MIN_BR_XTICS;
#endif //PWMTOOLS_H