Keil Logo

Peripheral Simulation

For Silicon Laboratories, Inc. C8051F124 — Capture/Compare

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.

Capture / Compare Register Dialog

Capture / Compare Register

The Capture/Compare Register Dialog controls simulation all of the six operation modes of the PCA0 capture/compare module.

Selected Module

  • Mode is the mode for the selected capture compare register.
  • PCA0CPn (PCA Capture Module Register) hold the data used for capture and compare functions.
  • PCA0CPMn (PCA0 Capture/Compare Mode Registers)
  • CCFn (Module n Capture/Compare Flag) is set when a match or capture occurs fro module n.
  • PWM16n (16-bit Pulse Width Modulation Enable) is set to select 16-bit PWM. If reset, 8-bit PWM is selected.
  • ECOMn (Comparator Function Enable) is set to enable the comparator function.
  • CAPPn (Capture Positive Function Enable) is set to enable the positive edge capture function.
  • CAPNn (Capture Positive Function Enable) is set to enable the negative edge capture function.
  • MATn (Match Function Enable) is set to enable the match function.
  • TOGn (Toggle Function Enable) is set to toggle the CEXn pin when a match occurs.
  • PWMn (Pulse Width Modulation Mode Enable) is set to enable Pulse Width Modulation output on the CEXn pin.
  • ECCFn (Capture/Compare Flag Interrupt Enable) is set to enable the compare/capture flag interrupt.
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.