Keil Logo

Peripheral Simulation

For Infineon XC886LM-6FF — Capture/Compare Unit 6 (CCU6) Timers

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.

Timer 12 Dialog

Timer 12

The Timer 12 Dialog allows you to view and change the SFRs associated with Timer 12. This timer is used to generate the time base for the Capture/Compare Unit of the MCU.

Control

  • TCTR0 (Timer Control Register 0) contains basic timer control settings common to Timer 12 and Timer 13.
  • TCTR2 (Timer Control Register 2) controls synchronization and single-shot functions of Timer 12 and Timer 13.
  • TCTR4 (Timer Control Register 4) contains the run control and reset bits for Timer 12 and Timer 13.
  • T12CLK (Timer 12 Input Clock Select) selects the input clock frequency for Timer 12.
  • T12R (Timer 12 Run Bit) when set, Timer 12 is running.
  • STE12 (Timer 12 Shadow Transfer Enable) when set, initiates a Timer 12 shadow transfer event.
  • CDIR (Count Direction of Timer 12) when set, Timer 12 counts down. When reset, Timer 12 counts up.
  • CTM (Timer 12 Operating Mode) when set, Timer 12 operates in center-aligned mode. In this mode, T12 counts down after detecting a perio-match and counts up after detecting a one-match. When reset, Timer 12 operates in edge-aligned mode. In this mode, T12 only counts up to the period-match value, then restarts counting at zero.
  • T12SSC (Timer 12 Single-Shot Control) when set, Timer 12 operates in single-shot (stop counting after one timer period) mode.
  • T12PRE (Timer 12 Prescaler Bit) when set, enables a prescaler factor of 256 for Timer 12.
  • T12HR (CCU Timer 12 Hardware Run Signal) when set, starts Timer 12 running. IST12HR controls which pin (T12HR _0, T12HR _1 or T12HR _2) generates this signal.
  • T12RR (Timer 12 Run Reset) when set, T12R clears and Timer 12 stops counting.
  • T12RS (Timer 12 Run Set) when set, T12R is set.
  • T12RES (Timer 12 Reset) when set, zeroes the timer/counter(T12).
  • DTRES (Dead-Time Counter Reset) when set, zeroes the 3 dead-time counters.
  • T12STR (Timer 12 Shadow Transfer Request) when set, sets STE12, enabling shadow transfers.
  • T12STD (Timer 12 Shadow Transfer Disable) when set, clears STE12, disabling shadow transfers.

Timer & Period

  • T12 (Timer/Counter) contains the current count value of Timer 12.
  • T12PR (Timer 12 Period Register) contains the value matched to the T12 counter to trigger a Timer 12 period-match event.

Int. Node 2

  • ECCIP2 (CCU6 Interrupt Node Pointer 2 Enable) when set, enables interrupt node pointer 2.

Interrupts

  • T12OM (Timer 12 One-Match) is set to indicate a Timer 12 one-match event occurred.
  • T12PM (Timer 12 Period-Match) is set to indicate a Timer 12 period-match event occurred.
  • ST12OM (Set Timer 12 One-Match) when set, forces the one-match event flag(T12OM).
  • ST12PM (Set Timer 12 Period-Match) when set, sets the period-match event flag(T12PM).
  • RT12OM (Reset Timer 12 One-Match) when set, clears the one-match event flag(T12OM).
  • RT12PM (Reset Timer 12 Period-Match) when set, clears the period-match event flag(T12PM).
  • ENT12OM (Enable Timer 12 One-Match) when set, allows an interrupt to be generated when a one-match event occurs on Timer 12.
  • ENT12PM (Enable Timer 12 Period-Match) when set, allows an interrupt to be generated when a period-match event occurs on Timer 12.

Timer 13 Dialog

Timer 13

The Timer 13 Dialog allows you to view and change the SFRs associated with Timer 13. This timer is used to generate the time base for the Capture/Compare Unit of the MCU.

Control

  • TCTR0 (Timer Control Register 0) contains basic timer control settings common to Timer 12 and Timer 13.
  • TCTR2 (Timer Control Register 2) controls synchronization and single-shot functions of Timer 12 and Timer 13.
  • TCTR4 (Timer Control Register 4) contains the run control and reset bits for Timer 12 and Timer 13.
  • T13CLK (Timer 13 Input Clock Select) selects the input clock frequency for Timer 13.
  • T13R (Timer 13 Run Bit) when set, Timer 13 is running.
  • STE13 (Timer 13 Shadow Transfer Enable) when set, initiates a Timer 13 shadow transfer event.
  • T13SSC (Timer 13 Single-Shot Control) when set, Timer 13 operates in single-shot (stop counting after one timer period) mode.
  • T13PRE (Timer 13 Prescaler Bit) when set, enables a prescaler factor of 256 for Timer 13.
  • T13HR (CCU Timer 13 Hardware Run Signal) when set, starts Timer 13 running. IST13HR controls which pin (T13HR _0, T13HR _1 or T13HR _2) generates this signal.
  • T13TEC (Timer 13 Trigger Event Control) selects which Timer 12 trigger event starts the T13 counter.
  • T13TED (Timer 13 Trigger Event Direction) selects the direction (up or down) T12 (Timer 12) must be counting to start a T13 event.
  • T13RR (Timer 13 Run Reset) when set, T13R clears and Timer 13 stops counting.
  • T13RS (Timer 13 Run Set) when set, T13R is set.
  • T13RES (Timer 13 Reset) when set, zeroes the timer/counter(T13).
  • T13STR (Timer 13 Shadow Transfer Request) when set, sets STE13, enabling shadow transfers.
  • T13STD (Timer 13 Shadow Transfer Disable) when set, clears STE13, disabling shadow transfers.

Timer & Period

  • T13 (Timer/Counter) contains the current count value of Timer 13.
  • T13PR (Timer 13 Period Register) contains the value matched to the T13 counter to trigger a Timer 13 period-match event.

Int. Node 3

  • ECCIP3 (CCU6 Interrupt Node Pointer 3 Enable) when set, enables interrupt node pointer 3.

Interrupts

  • T13OM (Timer 13 One-Match) is set to indicate a Timer 13 one-match event occurred.
  • T13PM (Timer 13 Period-Match) is set to indicate a Timer 13 period-match event occurred.
  • ST13OM (Set Timer 13 One-Match) when set, forces the one-match event flag(T13OM).
  • ST13PM (Set Timer 13 Period-Match) when set, sets the period-match event flag(T13PM).
  • RT13OM (Reset Timer 13 One-Match) when set, clears the one-match event flag(T13OM).
  • RT13PM (Reset Timer 13 Period-Match) when set, clears the period-match event flag(T13PM).
  • ENT13OM (Enable Timer 13 One-Match) when set, allows an interrupt to be generated when a one-match event occurs on Timer 13.
  • ENT13PM (Enable Timer 13 Period-Match) when set, allows an interrupt to be generated when a period-match event occurs on Timer 13.
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.