29 lines
683 B
C
29 lines
683 B
C
|
|
/**
|
|||
|
|
******************************************************************************
|
|||
|
|
* @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();
|
|||
|
|
}
|
|||
|
|
|