rework structure
This commit is contained in:
25
hifive1-vp/riscv-bldc-forced-commutation/src/delay.h
Normal file
25
hifive1-vp/riscv-bldc-forced-commutation/src/delay.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* delay.h
|
||||
*
|
||||
* Created on: 30.07.2018
|
||||
* Author: eyck
|
||||
*/
|
||||
|
||||
#ifndef DELAY_H_
|
||||
#define DELAY_H_
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
extern uint32_t F_CPU;
|
||||
|
||||
void delayMS(uint32_t dwMs);
|
||||
void delayUS(uint32_t dwUs);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* DELAY_H_ */
|
||||
Reference in New Issue
Block a user