Peripheral Simulation
For Infineon C161O/OR — Timer Block GPT2 (T5, T6) Without Input, Output, and Direction Pins
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/Counter 5 Dialog
The Timer/Counter 5 dialog allows you to view and change the SFRs associated with Timer/Counter 5. This timer/counter is a general purpose unit which may be used for timing, counting, and so on.
- Mode contains the operating mode and the input selector for the timer.
- T5UD is the timer up/down control.
- Direction displays whether the timer/counter counts up or down.
- Capture selects the mode of the capture trigger.
- T5SC enables or disables capture into the CAPREL SFR.
- CAPIN contains the state of the CAPIN pin of the MCU.
- CRIR is the Interrupt Request flag for the CAPREL (Capture/Reload) SFR.
- CAPREL is the value of the Capture/Reload SFR.
- T5CLR specifies whether or not Timer 5 is cleared on a capture.
- Status displays the current status of the timer.
- T5 contains the value of the T5 SFR which is the current timer value or count.
- T5CON contains the value of the T5CON SFR which is the current configuration for timer 5.
- T5R is the Timer 5 Run flag.
- T5IR is the Timer 5 Interrupt Request flag.
Timer/Counter 6 Dialog
The Timer/Counter 6 dialog allows you to view and change the SFRs associated with Timer/Counter 6. This timer/counter is a general purpose unit which may be used for timing, counting, and so on.
- Mode contains the operating mode and the input selector for the timer.
- T6UD is the timer up/down control.
- Direction displays whether the timer/counter counts up or down.
- T6OTL is the output toggle latch flag.
- Status displays the current status of the timer.
- CAPREL is the value of the Capture/Reload SFR.
- T6 contains the value of the T6 SFR which is the current timer value or count.
- T6CON contains the value of the T6CON SFR which is the current configuration for timer 6.
- T6R is the Timer 6 Run flag.
- T6SR is the Timer 6 Reload Mode Enable flag.
- T6IR is the Timer 6 Interrupt Request flag.
- CRIR is the Interrupt Request flag for the CAPREL (Capture/Reload) SFR.