Keil Logo

Peripheral Simulation

For Infineon XC2263N-24F — PWM (4 channels)

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.

PWM Dialog

PWM

The PWM (Pulse Width Modulator) Module dialog displays and allows you to change the following aspects of each PWM channel.

  • PT is the PWM Counter Register (SFR).
  • PP is the PWM Period Register (SFR).
  • PW is the PWM Pulse Width Register (SFR).

The Mode group contains the following controls.

  • PTR indicates that the PWM timer is running (when checked).
  • PTI indicates that the input clock is divided by 64 (when checked).
  • PM selects the PWM mode: edge aligned (when cleared) or center aligned (when checked).
  • PB01 selects the PWM channel 0/1 burst mode. (Channel 0 Only)
  • PS enables single shot mode. (Channels 2 and 3 Only)

The Interrupt group contains the following controls.

  • PIE is the PWM channel interrupt enable flag.
  • PIR is the PWM channel interrupt request flag.
  • PWMIR is the PWM interrupt request flag.

The Output group contains the following controls.

  • PEN enables PWM output (when checked).
  • P7.x is the value of the corresponding Port 7 output latch.
  • POUT is the value of the corresponding Port 7 output pin.
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.