How to define "USE_HAL_SPI_REGISTER_CALLBACKS" flag to enable HAL_SPI_RegisterCallback() ?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-17 8:01 AM
Hi everyone,
I am trying to register my own spi callback. I am having some troubles doing it because the "RegisterCallback" function is hidden by a compilation flag (USE_HAL_SPI_REGISTER_CALLBACKS).
My question is: how do I set that flag?
Thank you in advance!
Labels:
- Labels:
-
SPI
-
STM32Cube MCU Packages
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-03-17 8:33 AM
