+ 11
What's handle on HAL (hardware abstraction layer) STM Cube MX ? Handle is often used several times.
I think its like a pointer, a reference to memory. Is that right ?
3 Answers
+ 9
https://visualgdb.com/tutorials/arm/stm32/adc/
Configuration ADC (analog digital converter):
HAL_ADC_Init(&g_AdcHandle);
+ 1
Can you give some code? It is a word that can be used as a data structure for handle resourcer and used for callbacks of interruptions.
+ 1
In that case you can notice that definition :
ADC_HandleTypeDef g_AdcHandle;
That is a data structure for handle the ADC, here you give all configuration parameters of your ADC, this configuration is initialized with HAL_ADC_Init,