Files
BR_YKC/Core/User/Driver/drv_init.c
2026-05-21 12:19:01 +08:00

29 lines
847 B
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
******************************************************************************
* @file User\Driver\drv_init.c
* @author 路淮
* @version v0.1
* @date 2026-05-21
* @brief 驱动层初始化
******************************************************************************
*/
/* Includes -------------------------------------------------------------------*/
#include "drv_init.h"
#include <stdint.h>
#include "flash_config.h"
/* code -----------------------------------------------------------------------*/
/**
* @brief drv_all_init所有传感器、外设芯片、外部设备初始化
* @note none
* @param none
* @retval none
*/
void drv_all_init(void)
{
AIR724_RESET(); /* AIR724 复位 */
drv_usart_init();/* 初始化所有串口 */
stm_flash_init();/* 初始化flash管理器 */
}