SDL Static Register Check
Brief
This example shows how to use the static register check APIs in SDL to make sure register value of critical peripherals are not changed inadvertently.
This example is run for multiple peripherals and below steps are done for each peripheral.
Firstly, the register check API is called to compute a golden CRC of current register values.
Then the same API is called again, to make sure CRC value remains the same.
Finally, a register for the peripheral is intentionally modified to get a different CRC value. This shows that there is a CRC mis-match in case of a register value change