cancel
Showing results for 
Search instead for 
Did you mean: 

WHAT IS THE static HAL_StatusTypeDef name_funtion()?

jdo
Associate II

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()" ?

1 ACCEPTED SOLUTION

Accepted Solutions
Piranha
Chief II

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

View solution in original post

4 REPLIES 4
jdo
Associate II

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

Piranha
Chief II

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
Associate II

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

thanks, i am using now macro hal.