SNLA443 December 2023 DP83869HM
To write a register in the extended register set:
Instruction | Example: Set reg 0x0170 = 0C50 |
---|---|
1. Write the value 0x001F (address function field = 00, DEVAD = 31) to register REGCR (0x0D). |
Write register 0x0D to value 0x001F |
2. Write the desired register address to register ADDAR (0x0E). |
Write register 0x0E to value 0x0170 |
3. Write the value 0x401F (data, no post increment function field = 01, DEVAD = 31) to register REGCR. |
Write register 0x0D to value 0x401F |
4. Write the content of the desired extended register set register to register ADDAR. |
Write register 0x0E to value 0x0C50 |
Subsequent writes to register ADDAR (step 4) continue to rewrite the register selected by the value in the address register.