Keil Logo

Peripheral Simulation

For Silicon Laboratories, Inc. C8051T602 — Voltage Reference

Simulation support for this peripheral or feature is comprised of:

  • VTREGs (Virtual Target Registers) which support I/O with the peripheral.

These simulation capabilities are described below.

AV VTREG
Data Type: float

AV is the analog supply voltage. Typing the following command in the debugger's Command Window sets the analog voltage to 3.0 volts:

AV = 3.0

VDD VTREG
Data Type: float

VDD is the digital supply voltage.

VREF VTREG
Data Type: float

VREF contains the bandgap output reference voltage.

VREF0 VTREG
Data Type: float

VREF0 contains the voltage at the ADC voltage reference input pin.

VREF1 VTREG
Data Type: float

VREF1 is an input pin that provides a voltage reference input for ADC0 and ADC1. The AD1VRS bit in the REF0CN control register enables it's use with the ADC.

VREFA VTREG
Data Type: float

VREFA is an input pin that provides a voltage reference input for ADC0 and ADC1.

VREFD VTREG
Data Type: float

VREFD is the D/A Converter voltage reference input.

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.