Programming GPIO peripheral using CMSIS library (Bare metal). Working with the reference manual. To get the whole tutorial of the STM32 for beginners, please visit [ Ссылка ]
0:00 Creating a new project
0:43 Creating a new function for the GPIO initialization
1:04 GPIOA within CMSIS library
2:00 MODER register
2:46 Configuring pins as output ones
4:05 Configuring pin as an input one
4:35 Connecting internal pull-up resistors
6:05 Enabling clock on a GPIO PORT
8:48 Defining macros
11:50 Reading an input pin
14:00 Controlling the state of the output pin
17:40 Checking the code by flashing the micrcontroller
Ещё видео!