SAF-C164SM Infineon Technologies, SAF-C164SM Datasheet - Page 271

no-image

SAF-C164SM

Manufacturer Part Number
SAF-C164SM
Description
16-Bit CMOS Microcontroller
Manufacturer
Infineon Technologies
Datasheet
The functions of the CAPCOM timers are controlled via the bit-addressable 16-bit control
register T78CON. The high-byte of T78CON controls T8, the low-byte of T78CON
controls T7. The control options are identical for both timers (except for external input).
T78CON
CAPCOM Timer 7/8 Ctrl. Reg.
Bit
TxI
TxM
TxR
1)
The timer run flags T7R and T8R allow the timers to be enabled or disabled. The
following description of the timer modes and operation always applies to the enabled
state of the timers, that is, the respective run flag is assumed to be set to ‘1’.
In all modes, the timers always count upwards. The current timer values are accessible
for the CPU in the timer registers Tx, which are non-bitaddressable SFRs. When the CPU
writes to a register Tx in the state immediately before the respective timer increment or
reload is to be performed, the CPU write operation has priority and the increment or
reload is disabled to guarantee correct timer operation.
User’s Manual
15
-
-
This selection is available for timer T7. Timer T8 will stop at this selection!
T8R
14
rw
Function
Timer/Counter x Input Selection
Timer Mode (TxM = ‘0’)
Counter Mode (TxM = ‘1’): 000 Overflow/Underflow of GPT1 Timer 3
Timer/Counter x Mode Selection
0:
1:
0:
1:
Timer/Counter x Run Control
13
-
-
12
Timer Mode (Input derived from internal clock)
Counter Mode (Input from External Input or T3)
Timer/Counter x is disabled
Timer/Counter x is enabled
-
-
T8M
11
rw
10
T8I
rw
SFR (FF20
9
Input Frequency =
See also table below for examples.
001 Positive (rising) edge on pin T7IN
010 Negative (falling) edge on pin T7IN
011 Any edge (rising and falling) on pin T7IN
1XX Reserved
8
16-5
7
H
-
-
/90
T7R
H
rw
Capture/Compare Unit CAPCOM2
6
)
5
-
-
f
CPU
4
-
-
/ 2
T7M
(<TxI> + 3)
Reset Value: 0000
C164CM/C164SM
rw
3
2
Derivatives
V1.0, 2002-02
T7I
1)
rw
1
1)
0
1)
H

Related parts for SAF-C164SM