This commit is contained in:
TuxMonkey
2025-11-20 17:19:43 +08:00
parent a46ac6e1d8
commit a5428702d7
10 changed files with 419 additions and 110 deletions

View File

@@ -1,8 +1,34 @@
//
// Created by tuxmonkey on 2025/10/28.
//
/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : bsp_adc.h
* @brief : The header file of bsp_adc.h
* @author : TuxMonkey
* @date : 2025/11/22
* @version : v1.0
******************************************************************************
* @attention : Pay attention to config the clock source of the advanced TIM
******************************************************************************
*/
/* USER CODE END Header */
#ifndef TRONONEH7_SCAFFOLD_BSP_ADC_H
#define TRONONEH7_SCAFFOLD_BSP_ADC_H
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef BSP_ADC_H
#define BSP_ADC_H
#endif //TRONONEH7_SCAFFOLD_BSP_ADC_H
#ifdef __cplusplus
extern "C"
{
#endif
/* Includes ------------------------------------------------------------------*/
#include "adc.h"
/* Externs ---------------------------------------------*/
void BSP_ADC_Init(void);
float USER_ADC_Voltage_Update(void);
#endif //BSP_ADC_H