A tutorial on how to configure pins of a STM32 microcontroller to alternate function mode. The tutorial covers the registers that are used for programming the pins and includes a code example of programming the pins of a stm32l432kc microcontroller without any hardware abstraction layers (bare metal).
Source code for this tutorial is available at:
[ Ссылка ]
Timestamps:
00:00 - Introduction
00:19 - Alternate Functions on Pinout
00:43 - Required Registers for Alternate Function
02:30 - Code Example
03:09 - Testing
03:34 - Outro
Ещё видео!