Keil Logo

Peripheral Simulation

For Hynix Semiconductor GMS97L52 — Interrupts 6S/4L (Including External)

Simulation support for this peripheral or feature is comprised of:

  • Dialog boxes which display and allow you to change peripheral configuration.

These simulation capabilities are described below.

Interrupt Dialog

Interrupt

The Interrupt System dialog (available from the Peripherals menu) displays the status of all simulated MCU interrupts. The interrupt source, vector address, mode, request, priority, and enabled status are displayed. Clicking on a column header orders the interrupt list based on the selected column. You may use this dialog to manually change the interrupt configuration. Select the desired interrupt source from the list.

The Selected Interrupt group displays the control bits assigned to that interrupt. Click on the desired check box to immediately effect the change. You may even trigger an interrupt by clicking on its request bit. You may trigger an external interrupt by toggling the appropriate port pin. External interrupt 0 is triggered by either a changing edge or level on I/O PORT 3.2. You can change the state of the pin by writing to the PORT3 VTREG. The following assignments may be entered in the command window to toggle PORT 3.2.

PORT3 ^= 0x04    // Toggle PORT 3.2
PORT3 ^= 0x04    // Toggle PORT 3.2

These commands toggle the state of PORT 3.2 and then toggle it back.

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.