NULL
This commit is contained in:
36
user/Interface/Pulse.h
Executable file
36
user/Interface/Pulse.h
Executable file
@@ -0,0 +1,36 @@
|
||||
#ifndef __Pulse_h__
|
||||
#define __Pulse_h__
|
||||
|
||||
//******************************************************************************
|
||||
//#define PULSE_UNIT_MAX 10000
|
||||
#define MAX_TIMER_PULSE 1000//500
|
||||
#define PULSE_UPDATE_TIME 7372 // 450ms //6553 (400ms) // acc pulse update time: 400ms, 16384
|
||||
|
||||
//******************************************************************************
|
||||
extern u16 PulsePeriod[];
|
||||
extern s16 targetPulse;
|
||||
extern u32 pulseCounter, unitPerPulse;
|
||||
extern u16 isPulseUpdaed;
|
||||
|
||||
extern s16 calibUnitPerPulse;
|
||||
//extern const u16 MaxPulseOutput[];
|
||||
extern const u16 PULSE_TABLE[];
|
||||
//******************************************************************************
|
||||
void PulseParameterInit(void);
|
||||
void CapturePulseStart(u16 timerCLK);
|
||||
void DisableCapturePulse(void);
|
||||
void CloseFloawRatePulse(void);
|
||||
void CompareLossCount(void);
|
||||
void ReadyForCalibrationPulseOutput(void);
|
||||
//__interrupt void PulseUpdate_isr(void);
|
||||
void ReadyForUserPulseOutput(void);
|
||||
void DisablePulseTimerInterrupt(void);
|
||||
//__interrupt void Pulse_isr(void);
|
||||
//__interrupt void ClosePulse_isr(void);
|
||||
//__interrupt void CloseCapture_isr(void);
|
||||
void UpdateAccPulse(void);
|
||||
u16 ReadPulseUnitByInternalModbus(void);
|
||||
u16 WritePulseUnitByInternalModbus(void);
|
||||
u32 InitPulseUnit(s16 unitPulse);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user