@bleeptrack It is almost always better to understand the hardware of specific peripheral first (which modes are supported, which registers are involved, what is done in hardware, what has to be done in software), before trying to use a library for the peripheral.
Because it almost never works at first try and debugging without having understood the hardware is hours of guesswork.
@bleeptrack Also a short primer about how to look up stuff in datasheets. Having to go through hundreds of pages of tables and drawings is intimidating for beginners, but ultimately it's the best source of information about a given microcontroller.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!