What does User Constants in the Device Configuration Tool do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-18 1:24 AM
Hello,
I would like to use a global variable in a while loop in my main file. That variable will be set to zero in a interrupt. Unfortunatly the interrupts are created by the device configuration tool in a seperate file. In the device configuration tool there is a window in UART called User Constants. I have declared the variable there but I don't know what this does. It didn't create a variable in the UART init or UART interrupt function. I hope you can clearify this for me.
Erwin
Solved! Go to Solution.
- Labels:
-
STM32CubeIDE
-
UART-USART
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-18 2:07 AM
User constants specified in CubeMX appear in main.h as a series of #defines.
In main.h
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-18 2:07 AM
User constants specified in CubeMX appear in main.h as a series of #defines.
In main.h
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-10-18 2:48 AM
Thank you. That explains it!
