14 lines
286 B
C
14 lines
286 B
C
#pragma once
|
|
|
|
#ifndef TIM_H
|
|
#define TIM_H
|
|
|
|
typedef void (*ProcTIM)();
|
|
|
|
void TIM6_Init(long Priority, unsigned long Freq, const ProcTIM& Proc1, const ProcTIM& Proc2);
|
|
void TIM7_Init(long Priority, unsigned long Freq, const ProcTIM& Proc);
|
|
|
|
void TIM6_Enable();
|
|
void TIM7_Enable();
|
|
|
|
#endif |