generated from Template/H563ZI-HAL-CMake-Template
Initial commit
This commit is contained in:
18
Core/App/Helper/delay_helper.h
Normal file
18
Core/App/Helper/delay_helper.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include "main.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define TIM_DELAY htim7
|
||||
|
||||
void DelaySetup(void);
|
||||
void DelayUs(uint16_t nus);
|
||||
void DelayMs(uint32_t nms);
|
||||
void DelayS(uint32_t ns);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user