Recommended Flash Register Write Method - KBA219031

Version 2

    Version: **


    Translation - Japanese: Flashレジスタへの推奨書き込み方法 - KBA219031 - Community Translated (JA)



    Is there any recommended method or process for writing Flash register?



    Each register may contain multiple fields. To get best forward /backward compatibility, keep the following points in mind when writing flash registers.


    1. Do NOT change RFU (Reserved for Future Use) bits. Always leave them at their default value.
    2. Change only the fields that you want to change. It is recommended to use following process:   
      1. Read the register value.
      3. Use AND/OR operations to CLEAR/SET the bits you want to change.
      5. Write the changed value back to register.