Skip to main content
jdo
Associate III
Solved

WHAT IS THE static HAL_StatusTypeDef name_funtion()?

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.
Piranha
PiranhaBest answer
Principal III

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

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

Piranha
PiranhaBest answer
Principal III

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

thanks, i am using now macro hal.

jdo
jdoAuthor
Associate III

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