Where / how can I learn peripheral configuration procedures?
I'd like to know if there are any resources that say "to set up the DMA to transfer data from the ADC to a memory location, these steps must be completed" or "to set up PWM output on a pin, these steps must be completed"
These are two examples of things I've "gotten to work" by following examples and via CubeMX, but it all feels very trial and error, and blind. Where / how does one learn what is strictly necessary to achieve configuration of the STM32 peripherals? The various reference manuals seem to be the most useful in this regard, but I'd especially love some pointers as to how to figure out exactly the intended uses of the LL and HAL libraries are.