Opublikowano przez Mateusz Salamon, temu Opublikowano przez Mateusz Salamon, temu Opublikowano przez Mateusz Salamon, temu

Reading a Button on STM32 | STM32 Using Registers #4

Reading a Button on STM32 | STM32 on Registers #4 A button is one of the simplest communication interfaces between a microcontroller and a human. It’s an input interface, so it takes information from us. How to read a button on STM32? That’s exactly what I’ll show you today. Of Read more

Opublikowano przez Mateusz Salamon, temu

My NEW course: STM32 on Registers

My NEW course: STM32 on Registers Straight to the point: the long-awaited course on programming STM32 on registers is finally coming! Oh, how often many of my readers and course participants themselves have asked about it 😅 After months of work, I’m ready to announce its launch. When? The first Read more

Opublikowano przez Mateusz Salamon, temu Opublikowano przez Mateusz Salamon, temu Opublikowano przez Mateusz Salamon, temu Opublikowano przez Mateusz Salamon, temu

Project File Structure in C – Introduction

I’d like to make an introduction to splitting a project into files in the C language. We also need this in order to understand what a module or a compilation unit is. A good understanding of the concept of a “compilation unit” will make it so that later you’ll be Read more

Opublikowano przez Mateusz Salamon, temu

Interrupts not working on STM32G0? What is VTOR? (HAL bug)

I haven’t had much experience with the STM32G0 family yet, but my course participants have. Recently, we were solving together a problem with interrupts not working on the STM32G031J6M6 known from the STM32G0316-DISCO board. It was an interesting problem, so I decided to share it more broadly. Handling interrupts via Read more

Opublikowano przez Mateusz Salamon, temu

How to Properly Construct a Function Pointer (Callback)?

I’m coming today with an interesting topic. It will be a pointer to a function. Unlike “regular” pointers, they are a bit harder. Because functions define more things than just a regular variable. Pointer to a function Pointers can point to any memory cell, and our program code is nothing more than Read more