工程提交
This commit is contained in:
28
Core/User/Global/g_init.c
Normal file
28
Core/User/Global/g_init.c
Normal file
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file user\global\g_init.c
|
||||
* @author luhuaishuai
|
||||
* @version v0.1
|
||||
* @date 2026-1-12
|
||||
* @brief Briefly describe the function of your function
|
||||
******************************************************************************
|
||||
*/
|
||||
|
||||
#include "g_init.h"
|
||||
|
||||
/* Includes -------------------------------------------------------------------*/
|
||||
#include "drv_init.h"
|
||||
#include "_hal_init.h"
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* @brief 初始化全局系统
|
||||
* @note 初始化全局系统,包括HAL层和驱动层的初始化
|
||||
*/
|
||||
void g_Init(void)
|
||||
{
|
||||
_hal_all_Init();
|
||||
drv_all_Init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user