|
Product Information Device Database® Evaluation Software Compliance Testing Distributors | Peripheral SimulationFor Analog Devices ADuC7020 — Digital/Analog Converter 3 Simulation support for this peripheral or feature is comprised of: - Dialog boxes which display and allow you to change peripheral configuration.
- VTREGs (Virtual Target Registers) which support I/O with the peripheral.
These simulation capabilities are described below. DAC 3 Dialog
The DAC 3 dialog displays and configures the Digital/Analog converter. The controls in this dialog are separated into several logical groups. DAC Control Group - DAC3CON (Control Register) displays and configures the D/A Converter control register.
- DACCLR (DAC Clear) is set to enable normal DAC operation. If reset, the data register of the DAC is set to zero.
- DACCLK (DAC Update Rate) is set to update the DAC using Timer 1. If reset, the core clock is used.
- DACBYP (Buffer Bypass) is set to bypass the output buffer. Resetting this bit buffers the DAC output.
- Range (DAC Range Setting) selects the voltage range.
DAC Data Group - DAC3DAT (Data Register) contains the 12-bit digital data to be converted.
DAC Output Group - DAC3 (Output Register) displays the converted analog voltage value.
GPIO Port 3 Dialog
The GPIO Port 3 Dialog controls the direction of the general purpose port pins. You may use the following controls to select and configure the GPIO port settings. GPIO Configuration & Data Group - GP3DAT (Configuration and Data Register) contains the Direction, Output and At Reset settings.
- Direction bits are checked to configure a pin for output or reset for input.
- Output checkboxes represent the data bits output.
- At Reset checkboxes represent the state of the port pins after a reset.
- Input checkboxes show the value of the data on an input port.
I/O Pins Group - The I/O Pins section allows you to manually set or clear individual pins for this port.
GPIO Control Group - GP3CON (Control Register) controls the function of each pin for this port.
- P3.x (Port 3 - Pins 0-7) selects the function to be assigned to this pin from a drop-down list.
DACx VTREG Data Type: floatDAC0 Output Voltage |
|