Peripheral Simulation
For Infineon C164SI — Timer Block GPT1 (T2, T3, T4)
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 2 Dialog
The Timer/Counter 2 dialog allows you to view and change the SFRs
associated with Timer/Counter 2. 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.
- T2UDE is the external up/down control enable.
-
T2EUD is the external up/down control input. This value
is obtained from the T2EUD input pin.
- T2UD is the timer up/down control.
-
Direction displays whether the timer/counter counts up
or down.
- Status displays the current status of the timer.
-
T2 contains the value of the T2 SFR which is the current
timer value or count.
-
T2CON contains the value of the T2CON SFR which is the
current configuration for timer 2.
- T2R is the Timer 2 Run flag.
- T2IN is the Timer 2 Input value.
- T2IR is the Timer 2 Interrupt Request flag.
Timer/Counter 3 Dialog
The Timer/Counter 3 dialog allows you to view and change the SFRs
associated with Timer/Counter 3. 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.
- T3UDE is the external up/down control enable.
-
T3EUD is the external up/down control input. This value
is obtained from the T3EUD input pin.
- T3UD is the timer up/down control.
-
Direction displays whether the timer/counter counts up
or down.
- T3OTL is the output toggle latch flag.
- Status displays the current status of the timer.
-
T3 contains the value of the T3 SFR which is the current
timer value or count.
-
T3CON contains the value of the T3CON SFR which is the
current configuration for timer 3.
- T3R is the Timer 3 Run flag.
- T3IN is the Timer 3 Input value.
- T3IR is the Timer 3 Interrupt Request flag.
Timer/Counter 4 Dialog
The Timer/Counter 4 dialog allows you to view and change the SFRs
associated with Timer/Counter 4. 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.
- T4UDE is the external up/down control enable.
-
T4EUD is the external up/down control input. This value
is obtained from the T4EUD input pin.
- T4UD is the timer up/down control.
-
Direction displays whether the timer/counter counts up
or down.
- Status displays the current status of the timer.
-
T4 contains the value of the T4 SFR which is the current
timer value or count.
-
T4CON contains the value of the T4CON SFR which is the
current configuration for timer 4.
- T4R is the Timer 4 Run flag.
- T4IN is the Timer 4 Input value.
- T4IR is the Timer 4 Interrupt Request flag.