The header files describe the hardware registers available in both these chips, note that most of this documentation is automatically generated from the hardware implementation.