Hello, I was recently learning UCD3138 full-bridge hard-switch firmware
The following is my understanding of the function of restore_default_all(); I don't know if it is right?
The function is to copy the coefficients stored in the data flash into RAM. If the data in the data flash area A is correct after verification, the data in the A area is copied into the RAM, If the data in the data flash area A is not correct after verification, continue to verify the B area. If the data and verification of the B area are correct, use the data of the B area.
Otherwise, the data of the A area and the B area will not be used, and the data in the Program Flash memory will be copied to the RAM by default.
Do not know if my understanding is wrong?
Thank you