Repository navigation
ifdef Doxygen guard in SPI_Master - why??? #1158
Unanswered
FlashForger
asked this question in
Q&A
Replies: 2 comments
|
Some of our interfaces are not "real", they are only there to document the signature of the implementation. However, some signatures are slightly different on different platforms, for example, on AVR we prefer to use smaller integers to pass arguments, since that reduces code size often quite significantly. In modern times, you would perhaps use C++20 concepts to define them with a bunch of platform specific type aliases. But when we started these interfaces, we didn't have concepts yet. |
0 replies
|
In addition to the answer above: The actual (platform-dependent) implementations of the SPI master is located in |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
modm/src/modm/architecture/interface/spi_master.hpp
Line 33 in f01fd0a
Why? What for? I am building a project, not a documentation. What for I need a doxygen here?
All reactions