Keil Logo

Peripheral Simulation

For Infineon C165H — Capture/Compare Unit CAPCOM2 with T7 and T8 (P1H.4-7 Inputs Only)

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.

CAPCOM 2 Unit Dialog

CAPCOM 2 Unit

The CAPCOM 2 Unit dialog allows you to view and interactively configure the sixteen channels of the Capture/Compare Unit 2. Typically, your embedded program writes values to SFRs to configure the CAPCOM Unit and the CAPCOM channels. You may use this dialog to view and confirm the CAPCOM settings.

  • CCx specifies the value of the CAPCOM
  • Mode specifies the compare or capture mode to use.
  • T7 specifies that timer 7 is used with this CAPCOM channel.
  • T8 specifies that timer 8 is used with this CAPCOM channel.
  • CCxIR is the interrupt request bit for the selected CAPCOM channel.
  • CCxIO is the state of the I/O pin for the selected CAPCOM channel. This will be an output when the mode is configured for compare operations and an input when the mode is configured for capture operations.

Timer/Counter 7 Dialog

Timer/Counter 7

The Timer/Counter 7 dialog allows you to view and change the SFRs associated with Timer/Counter 7. This timer/counter is used to generate the time base for the Capture/Compare units of the MCU.

  • Status indicates the current status of the timer.
  • T7 contains the value of the T7 SFR which is the current timer value or count.
  • T78CON contains the value of the T78CON SFR which is the current configuration for timer 7 and timer 8.
  • T7REL contains the value of the T7REL SFR which is the reload value for timer 7.
  • T7R is the Timer 7 Run flag.
  • T7IR is the Timer 7 Interrupt Request flag.
  • T7IN is the Timer 7 Input value.

Timer/Counter 8 Dialog

Timer/Counter 8

The Timer/Counter 8 dialog allows you to view and change the SFRs associated with Timer/Counter 8. This timer/counter is used to generate the time base for the Capture/Compare units of the MCU.

  • Status indicates the current status of the timer.
  • T8 contains the value of the T8 SFR which is the current timer value or count.
  • T78CON contains the value of the T78CON SFR which is the current configuration for timer 7 and timer 8.
  • T8REL contains the value of the T8REL SFR which is the reload value for timer 8.
  • T8R is the Timer 8 Run flag.
  • T8IR is the Timer 8 Interrupt Request flag.
  • T8IN is the Timer 8 Input value.
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.