第一版代码,为了在EEPROM保存参数的时候走STM32的CRC,让Codex修改了一下,现在的效果是无法存储,codex表示原因是CRC方法不同,修改到一半今天的额度使用完了,有待后续解决CRC的bug
This commit is contained in:
15
MyDriver/DWT.h
Normal file
15
MyDriver/DWT.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef __DMT_H__
|
||||
#define __DMT_H__
|
||||
|
||||
#include "stm32f407xx.h"
|
||||
|
||||
// DWT init
|
||||
void DWT_init(void);
|
||||
|
||||
// 使用DWT延时time_ms毫秒
|
||||
void DWT_delay_ms(uint32_t time_ms);
|
||||
|
||||
// 使用DWT延时time_us微秒
|
||||
void DWT_delay_us(uint32_t time_us);
|
||||
|
||||
#endif /* __DMT_H__ */
|
||||
Reference in New Issue
Block a user