|
L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
|
This file contains all the function prototypes for the adc.c file. More...
#include "main.h"Go to the source code of this file.
Functions | |
| void | MX_ADC_Init (void) |
| Initialise the ADC peripheral (hadc) with settings generated by STM32CubeMX. Configures the ADC clock, resolution, scan mode, and channel assignments. Must be called once before SYS_InitMeasurement() or any ADC conversion. | |
Variables | |
| ADC_HandleTypeDef | hadc |
This file contains all the function prototypes for the adc.c file.
Copyright (c) 2026 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
Definition in file adc.h.
| void MX_ADC_Init | ( | void | ) |
Initialise the ADC peripheral (hadc) with settings generated by STM32CubeMX. Configures the ADC clock, resolution, scan mode, and channel assignments. Must be called once before SYS_InitMeasurement() or any ADC conversion.
Configure the global features of the ADC (Clock, Resolution, Data Alignment and number of conversion)
Configure Regular Channel
Definition at line 30 of file adc.c.
References Error_Handler(), and hadc.
Referenced by ADC_ReadChannels().
|
extern |
Definition at line 27 of file adc.c.
Referenced by ADC_IRQHandler(), ADC_ReadChannels(), MX_ADC_Init(), PWR_EnterOffMode(), and SYS_InitMeasurement().