Learning about system APIs and hardware features
The book’s example-programs use a plethora of system APIs and hardware features. This section describes how to get information about them, and how to figure out what they do, how they work, and how to use them.
The book’s example-programs frequently call system APIs, and the APIs are from several different sources, such as the HAL and CMSIS libraries. Also, the example-programs frequently use the hardware features of several different devices, including the MCU, CPU, dev-board, and debugger. Figuring out how these APIs and hardware-features work can be challenging, as the documentation consists of dozen of documents. Also, the libraries’ documentation is often incomplete, so figuring out how to use an API often requires reading its source-code.
We’ll examine two of the APIs that are used in the present chapter’s example-program, and we’ll show how we can learn more about these APIs.
...