View/Modify Registers (Bit/Byte Level); Gui Commands And Controls - Analog Devices EVAL-ADP8860 Manual

Parallel backlight driver with als
Table of Contents

Advertisement

EVAL-ADP8860

VIEW/MODIFY REGISTERS (BIT/BYTE LEVEL)

Figure 22. View/Modify Registers (Bit/Byte Level)
In the view/modify registers (bit/byte level) block, all the
ADP8860 registers are displayed according to their sequential
address value. The registers content can be seen or modified in
binary or numeric format.
The user has the choice to modify the registers bitwise by
selecting the desired bit position. The bit value toggles from 0
to 1 or vice versa. It is not possible to change the values of the
grayed bits. The register values can also be changed by entering
a hex value in the desired register control. The Hex/Dec button
(shown in the Byte column as an x) allows the user to change
the data format of the register values from hexadecimal to
decimal or vice versa. Binary and byte controls are
intercommunicating and, therefore, a change to one control is
automatically reflected in the other. The R and W buttons
beside each register allow reading or writing a specific device
address.
The smart update option is not active for this block Therefore,
a new value is written into the ADP8860 only following a write
operation by depressing W or the Write Registers button.
All the register values in the application window are always kept
in synch. Changing the value in binary or numeric format also
changes the corresponding control on the left side and vice versa.

GUI COMMANDS AND CONTROLS

When selected, the Read Registers button reads all the ADP8860
internal registers (Address 0x00 to Address 0x24) and updates
the controls with the new values.
When selected, the Write Registers button writes the current
register values set in the control register into the ADP8860
volatile memory. If the Verify after Write option is checked,
the program reads back the programmed registers comparing
the device values with the set values (buffer). If one or more
errors are detected, a message pops up indicating the registers
at fault. Figure 23 shows a verification error example.
When selected, the Clear Interrupts button automatically clears
all pending interrupts by writing all 1s in the MDCR2 register.
When selected, the Clear Regs button sets the user registers to
0. A message pops up requesting confirmation to continue with
the operation or abort it, leaving the user registers unchanged
(see Figure 24).
Figure 25. GUI Commands and Controls
Rev. 0 | Page 12 of 24
Figure 23. Verification Error
Figure 24. Register Clearing Confirmation

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EVAL-ADP8860 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Adp-8860

Table of Contents