Keil Logo

Peripheral Simulation

For Infineon XE164H-72F — Traps

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.

Hardware Traps Dialog

Hardware Traps

The Hardware Traps dialog shows the state of all MCU hardware traps. You may select the checkbox of the desired condition to generate a trap.

NMIPIN VTREG
Data Type: unsigned char

THE NMIPIN VTREG contains the state of the NMI pin on the simulated MCU. Normally, the NMI pin is high (indicating that there is no non-maskable interrupt condition). NMI goes low to signal a non-maskable interrupt. Enter the following in the Command window to trigger an NMI Trap using the NMIPIN VTREG.

NMIPIN=0

Enter the following to return the NMI pin to a high level.

NMIPIN=1

Note that on some devices the NMI pin must be low to enter Power Down Mode.

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.