Keil™, An ARM® Company

Device Database®

Product Information

Device Database®

Evaluation Software

Compliance Testing

Distributors

  • Overview

    Select your country for a list of the
    distributors available in your area.

Peripheral Simulation

For Silicon Laboratories, Inc. C8051F321 — Temperature Sensor

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.

TEMP VTREG
Data Type: float

TEMP contains the on-chip temperature sensor in degrees (centigrade). The on-chip temp sensor measures temperature of the chip die. TEMP is used as the VTEMP output voltage to the PGA. The following command (typed in the debugger's Command Window) sets the die temperature.

TEMP = 30.5

VTEMP VTREG
Data Type: float

VTEMP is the the voltage input to the PGA when the Temperature Sensor is selected.

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