L14-Click 1.0
STM32WLE5CC LoRaWAN Sensor Platform
Loading...
Searching...
No Matches
adc.h File Reference

This file contains all the function prototypes for the adc.c file. More...

#include "main.h"
Include dependency graph for adc.h:
This graph shows which files directly or indirectly include this file:

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

Detailed Description

This file contains all the function prototypes for the adc.c file.

Attention

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.

Function Documentation

◆ MX_ADC_Init()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ hadc

ADC_HandleTypeDef hadc
extern