Skip to main content
jdo
Associate III
September 6, 2022
Solved

WHAT IS THE static HAL_StatusTypeDef name_funtion()?

  • September 6, 2022
  • 4 replies
  • 1296 views

I am using an example that i want use in my keil Project. the example is in stm32cubeide with HAL library, i am working in keil with standard peripheral. i want use.I want to change the statement of this function using standard peripheral, I know static is a classifier for Hal_statusTypeDef, how do I modify Hal_statusTypedef without using Hal?

I can use "static void name_function()" ?

This topic has been closed for replies.
Best answer by Piranha

This has nothing to do with STM32 and even MCUs in general. Only learning the C language can help:

http://www.tutorialspoint.com/cprogramming/index.htm

4 replies

jdo
jdoAuthor
Associate III
September 6, 2022

 What is the difference between static void name_function() and static HAL_StatusTypeDef name_function() ?

Piranha
PiranhaBest answer
Principal III
September 7, 2022

This has nothing to do with STM32 and even MCUs in general. Only learning the C language can help:

http://www.tutorialspoint.com/cprogramming/index.htm

jdo
jdoAuthor
Associate III
September 8, 2022

thanks, i am using now macro hal.

jdo
jdoAuthor
Associate III
September 8, 2022

thanks, in the example is using macros HAL, i can make my macros for write flash, i just have.