-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Is your feature request related to a problem? Please describe.
The feature is related to changing the SPI low level implementation.
To be more precise, the module enabling function.
Describe the solution you'd like
Instead of generalized SSPx
macros, use module specified macros.
Describe alternatives you've considered
Suggestion for low level SPI implementation is:
// Add inside source in the PRIVATE MACROS section
#ifndef HAL_LL_SSP1_MODULE_BIT
#ifdef HAL_LL_SPI1_MODULE_BIT
#define HAL_LL_SSP1_MODULE_BIT HAL_LL_SPI1_MODULE_BIT
#endif
#endif
#ifndef HAL_LL_SSP2_MODULE_BIT
#ifdef HAL_LL_SPI2_MODULE_BIT
#define HAL_LL_SSP2_MODULE_BIT HAL_LL_SPI2_MODULE_BIT
#endif
#endif
Additional context
This will work in congestion with new mcu_definition.h
files.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request