I2C Adjust
4-8
4.6 View Registers
The registers panel, shown in Figure 4–4, displays the bits for 10 registers,
where the user can either view or change the bit values. There is a Preset
Modes section of the panel, which allows the user to call up any of three sets
of default register settings. A section with OK, Apply, and Cancel buttons
completes the registers panel. The various functions are discussed
individually in the following sections.
Figure 4–4. Register GUI
4.6.1 Preset Modes
The Preset Modes section of the panel contains a READ radio button that is
currently inactive. Functionality will be assigned to the button in a future
software release. There are also three buttons labelled Mode One, Mode Two,
and Mode Three. Each button corresponds with an ASCII text file containing
preset register values. When a button is clicked, the values in the
corresponding file are loaded into the DASCCT_AIC23 registers.
The three standard files that come with the software are shown in Figure 4–5.
The files can be edited, but must be kept in the same directory where the
DASCCT_AIC23.exe file is stored. The first column in the file is the decimal
value of the register number and the second column is the register value,
followed by an explanatory comment.