工程提交
This commit is contained in:
30
Core/User/Driver/drv_init.c
Normal file
30
Core/User/Driver/drv_init.c
Normal file
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
******************************************************************************
|
||||
* @file user\driver\drv_init.c
|
||||
* @author luhuaishuai
|
||||
* @version v0.1
|
||||
* @date 2026-1-12
|
||||
* @brief Briefly describe the function of your function
|
||||
******************************************************************************
|
||||
*/
|
||||
/* Includes -------------------------------------------------------------------*/
|
||||
#include "drv_init.h"
|
||||
// crc16_modbus.c
|
||||
#include <stdint.h>
|
||||
|
||||
/* code -----------------------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
* @brief drv_all_Init:所有传感器、外设芯片、外部设备初始化
|
||||
*
|
||||
* @note none
|
||||
*
|
||||
* @param none
|
||||
*
|
||||
* @retval none
|
||||
*/
|
||||
|
||||
void drv_all_Init(void)
|
||||
{
|
||||
AIR724_RESET(); /* AIR724 复位 */
|
||||
}
|
||||
15
Core/User/Driver/drv_init.h
Normal file
15
Core/User/Driver/drv_init.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef __DRVINIT_H
|
||||
#define __DRVINIT_H
|
||||
|
||||
|
||||
/* includes ----------------------------------------------------------------------------------------------*/
|
||||
#include "global.h"
|
||||
|
||||
|
||||
|
||||
/* Exported functions prototypes ------------------------------------------------------------------------*/
|
||||
void drv_all_Init(void);
|
||||
|
||||
|
||||
#endif /* __DRVINIT_H */
|
||||
|
||||
Reference in New Issue
Block a user