Keil Logo

Peripheral Simulation

For Silicon Laboratories, Inc. C8051T602 — 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.
  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.