2026-04-26 16:24:42 +08:00
|
|
|
#ifndef __HARDWARE_INIT_H__
|
|
|
|
|
#define __HARDWARE_INIT_H__
|
|
|
|
|
|
|
|
|
|
#include "common_types.h"
|
|
|
|
|
|
2026-04-26 21:14:00 +08:00
|
|
|
namespace HardwareInit {
|
|
|
|
|
|
|
|
|
|
RetCode init();
|
|
|
|
|
void systemClockConfig();
|
|
|
|
|
void peripheralClockEnable();
|
|
|
|
|
void gpioInit();
|
|
|
|
|
void nvicConfig();
|
|
|
|
|
void mpuConfig();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|