diff options
| author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-07 21:41:50 -0400 |
|---|---|---|
| committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-07 21:46:25 -0400 |
| commit | d71254f8f9047074070fff06c12cfcf07521e19b (patch) | |
| tree | efe388dcf7ddc8d4f063502e291b16b312ca6c10 /main.cpp.example | |
| parent | 14ce7ffcca4f8b3e9e42c8348925385cb2befc76 (diff) | |
Bring back <libmaple/spi.h>.
Add a spi_private.h with a SPI_DEV(), for convenience. Use it in the
F1 and F2 implementations. We could probably unify these with an
STM32_HAVE_SPI(n) macro, but we'll leave that for the future.
Most everything from F1 is portable; F2 has some additional bit
definitions and a spi_get_af() routine, but that's about it.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'main.cpp.example')
0 files changed, 0 insertions, 0 deletions
