CRM 52 PMU register

As I am new to the Embeded program, I had try to code for the PMU of Cortex 52  any sample code  c code for the acees of registers. Also required sample bare metal code for the same. Please help