The peripheral register addresses are fixed, properly aligned addresses. Storing them as uintptr_t makes live easier when casting them to helper structs, as no intermediate cast to uintptr_t is needed to silence -Wcast-align.
The peripheral register addresses are fixed, properly aligned addresses. Storing them as uintptr_t makes live easier when casting them to helper structs, as no intermediate cast to uintptr_t is needed to silence -Wcast-align.