Новый main
This commit is contained in:
14
Source/Drivers/Tim.h
Normal file
14
Source/Drivers/Tim.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user