4.1 Core peripherals
GPIO in detail, timers and PWM, analog-to-digital conversion, DMA, and the watchdog that rescues a hung system.
Lessons
- GPIO · Pin modes, push-pull versus open-drain, pulls, edge interrupts and debouncing.
- Timers and PWM · Prescalers, auto-reload, input capture, output compare and dead time.
- ADC · Resolution, sampling, noise, oversampling and DMA.
- DMA · Transfer modes, circular buffers, half-transfer interrupts and cache coherency.
- Watchdog timer · Independent and windowed watchdogs, and feeding them correctly.
Project: Smart greenhouse controller
One product, built a feature at a time. Each lesson ends with a lab that adds a working part to the controller, written against the chip's registers and checked on simulated hardware right in the page.