83C749 Philips Semiconductors, 83C749 Datasheet - Page 11

no-image

83C749

Manufacturer Part Number
83C749
Description
80C51 8-bit microcontroller family 2K/64 OTP/ROM/ 5 channel 8-bit A/D/ PWM/ low pin count
Manufacturer
Philips Semiconductors
Datasheet
Philips Semiconductors
COUNTER/TIMER
The 8XC749 counter/timer is designated Timer 0 and is separate
from Timer I and from the PWM. Its operation is similar to mode 2 of
the 80C51 counter/timer, extended to 16 bits. When Timer 0 is used
in the external counter mode, the T0 input (P1.7) is sampled every
S4P1. The counter/timer function is controlled using the timer control
register (TCON).
TCON Register
Position Symbol
TCON.7
TCON.6
TCON.5
TCON.4
TCON.3
TCON.2
TCON.1
TCON.0
ABSOLUTE MAXIMUM RATINGS
NOTES ON PAGE 13.
1998 Apr 23
MSB
Storage temperature range
Voltage from V
Voltage from any pin to V
Power dissipation
Voltage from V
GATE
80C51 8-bit microcontroller family
2K/64 OTP/ROM, 5 channel 8-bit A/D, PWM, low pin count
GATE
C/T
TF
TR
IE0
IT0
IE1
IT1
C/T
INT0 Pin
T0 Pin
OSC
Gate
CC
PP
TR
to V
pin to V
1 – Timer 0 is enabled only when INT0 pin is
0 – Timer 0 is enabled only when TR is 1.
1 – Counter operation from T0 pin.
0 – Timer operation from internal clock.
1 – Set on overflow of T0.
0 – Cleared when processor vectors to interrupt
1 – Enable timer 0
0 – Disable timer 0
1 – Edge detected on INT0
1 – INT0 is edge triggered.
0 – INT0 is level sensitive.
1 – Edge detected on INT1
1 – INT1 is edge triggered.
0 – INT1 is level sensitive.
TF
SS
high and TR is 1.
routine and by reset.
PARAMETER
SS
Function
SS
TR
(except V
12
IE0
PP
)
1, 3, 4
IT0
Figure 3. 83C749 Counter/Timer Block Diagram
IE1
C/T = 0
C/T = 1
IT1
LSB
11
These flags are functionally identical to the corresponding 80C51
flags except that there is only one of the 80C51 style timers, and the
flags are combined into one register.
Note that the positions of the IE0/IT0 and IE1/IT1 bits are
transposed from the positions used in the standard 80C51 TCON
register.
Timer I may be used as a fixed time base timer or watchdog timer.
Timer T0 is a 16-bit autoreloadable timer/counter, that operates
similar to mode 2 operation on the 80C51, but is extended to 16 bits.
The timer/counter is clocked by either 1/12 the oscillator frequency
or by transitions on the T0 pin. The C/T bit in special function
register TCON selects between these two modes. When the TCON
TR bit is set, the timer/counter is enabled. Register pair TH and TL
are incremented by the clock source. When the register pair
overflows, the register pair is reloaded with the values in registers
RTH and RTL. The value in the reload registers is left unchanged.
The TF bit in special function register TCON is set on counter
overflow and, if the interrupt is enabled, will generate an interrupt
(see Figure 3).
RTL
TL
–0.5 to V
–0.5 to + 13.0
–65 to +150
–0.5 to +6.5
RTH
RATING
TH
1.0
CC
Reload
+ 0.5
TF
83C749/87C749
Preliminary specification
SU00300
Int.
UNIT
W
V
V
V
C

Related parts for 83C749