DIY Logging Volt/Ampmeter
adc.h
Go to the documentation of this file.
1
/**
2
******************************************************************************
3
* @file adc.h
4
* @brief This file contains all the function prototypes for
5
* the adc.c file
6
******************************************************************************
7
* @attention
8
*
9
* <h2><center>© Copyright (c) 2021 STMicroelectronics.
10
* All rights reserved.</center></h2>
11
*
12
* This software component is licensed by ST under BSD 3-Clause license,
13
* the "License"; You may not use this file except in compliance with the
14
* License. You may obtain a copy of the License at:
15
* opensource.org/licenses/BSD-3-Clause
16
*
17
******************************************************************************
18
*/
19
/* Define to prevent recursive inclusion -------------------------------------*/
20
#ifndef __ADC_H__
21
#define __ADC_H__
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
27
/* Includes ------------------------------------------------------------------*/
28
#include "
main.h
"
29
30
/* USER CODE BEGIN Includes */
31
32
/* USER CODE END Includes */
33
34
/* USER CODE BEGIN Private defines */
35
36
/* USER CODE END Private defines */
37
38
void
MX_ADC1_Init
(
void
);
39
void
MX_ADC2_Init
(
void
);
40
41
/* USER CODE BEGIN Prototypes */
42
43
void
Activate_ADC
(
void
);
44
void
startBattVoltMeasurement
(
void
);
45
void
AdcGrpRegularUnitaryConvComplete_Callback
(
void
);
46
47
/* USER CODE END Prototypes */
48
49
#ifdef __cplusplus
50
}
51
#endif
52
53
#endif
/* __ADC_H__ */
54
55
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
AdcGrpRegularUnitaryConvComplete_Callback
void AdcGrpRegularUnitaryConvComplete_Callback(void)
ADC group regular end of unitary conversion interruption callback.
Definition:
adc.c:313
startBattVoltMeasurement
void startBattVoltMeasurement(void)
Definition:
adc.c:264
MX_ADC2_Init
void MX_ADC2_Init(void)
Definition:
adc.c:140
MX_ADC1_Init
void MX_ADC1_Init(void)
Definition:
adc.c:105
main.h
Main header-file for the high-precision logging voltage/current meter project.
Activate_ADC
void Activate_ADC(void)
Perform ADC activation procedure to make it ready to convert (ADC instance: ADC2).
Definition:
adc.c:197
STM32F103C8T6_powermeter-interface
Core
Inc
adc.h
Generated on Mon Dec 13 2021 16:18:48 for DIY Logging Volt/Ampmeter by
1.8.17