http://embedded-lab.com/blog/stm32-gpio-ports-insights/
http://hertaville.com/stm32f0-gpio-tutorial-part-1.html
The libmaple libraries, on which STM32duino is based, provides access to registers by the syntax:
GPIOA->regs->REG| NOTE: all instruction counts ignore the initial and final SIMD register load instructions | |
| AVX2 composition: 5 instructions, averaging 700M/sec on an Intel Xeon E5-2667 v3 | |
| AVX2 inversion: 26 instructions, averaging 175M/sec on an Intel Xeon E5-2667 v3 | |
| ARM64 composition: 19 instructions, averaging 870M/sec on an Apple M4 | |
| ARM64 inversion: 48 instructions, averaging 400M/sec on an Apple M4 |
http://embedded-lab.com/blog/stm32-gpio-ports-insights/
http://hertaville.com/stm32f0-gpio-tutorial-part-1.html
The libmaple libraries, on which STM32duino is based, provides access to registers by the syntax:
GPIOA->regs->REG| # output binary | |
| BIN := test | |
| # source files | |
| SRCS := \ | |
| test.cpp | |
| # files included in the tarball generated by 'make dist' (e.g. add LICENSE file) | |
| DISTFILES := $(BIN) |
If you need a small makefile introduction/reference you can take a look at my notes https://www.mauriciopoppe.com/notes/os/bin/make/
Project structure
. project
├── Makefile
├── build