In this chapter, you’re going to use the libopencm3 library to build a blink program from source code. This example program demonstrates the configuration and use of GPIO (General Purpose Input/Output). The program presented is a slightly modified version of a libopencm3 example program named miniblink. It has been modified to provide a different timing so that it will be obvious that your newly flashed code is the one executing. After building and running this program, we’ll discuss the GPIO API (Application Programming ...
4. GPIO
Get Beginning STM32: Developing with FreeRTOS, libopencm3, and GCC now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.