Keil Logo

Peripheral Simulation

For 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

DAC 3

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

GPIO Port 3

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: float

DAC0 Output Voltage

Get more information about the
Peripheral Simulation Capabilities
of the µVision Debugger.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.