datasheetbank_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

GMS81604 View Datasheet(PDF) - Hyundai Micro Electronics

Part Name
Description
View to exact match
GMS81604 Datasheet PDF : 79 Pages
First Prev 31 32 33 34 35 36 37 38 39 40 Next Last
LG Semicon
GMS81604/08
16-bit Timer/Counter Mode
The Timer register is being run with all 16 bits. A 16-bit
timer/counter register T0, T1 are incremented from
0000H until it matches TDR0, TDR1 and then resets
to 0000H. The match output generates Timer 0 inter-
rupt.
The clock source of the Timer 0 is selected either
internal or external clock by bit T0SL1, T0SL0.
Even if the Timer 0 (including the Timer 1) is used as
a 16-bit timer, the Timer 2 and Timer 3 can still be used
as either two 8-bit timer or one 16-bit timer by setting
the TM2. Reversely, even if the Timer 2 (including the
Timer 3) is used as a 16-bit timer, the Timer 0 and
Timer 1 can still be used as 8-bit timer independently.
MSB
LSB
TM0 CAP0 T1ST T1SL1 T1SL0 T0ST T0CN T0SL1 T0SL0
0
T0SL[1:0]
EDGE DETECTOR
EC0 PIN
XIN PIN
÷4
÷ 16
÷ 64
MUX
X
0
0
DO NOT CARE
0
1
T0CN
X
X
X
X
T0ST
0: Stop
1: Clear and Start
T1
T0
(8-BITS) (8-BITS)
CLEAR
PRESCALER
TIMER 0 (+TIMER1)
COMPARATOR
THIS FIGURE IS A EXAMPLE OF THE TIMER 0 AND
TIMER 1.
IN THE TIMER 2, EACH REGISTERS AND FLAGS MAY BE
CHANGED CORRESPONDINGLY.
TDR1
(8-BITS)
HIGHER
TDR0
(8-BITS)
LOWER
ADDRESS: E2H
RESET VALUE: 00H
T0IF
TIMER 0
INTERRUPT
(NOT TIMER 1 INTERRUPT)
Figure 19. 16-bit Timer/Counter Mode
TDR0
MATCH
Stop
Stop
Restart
Clear and Start
MATCH
Count Up
00H
TIMER
INTERRUPT
CLEAR
CLEAR
OCCUR INTERRUPT
TxST
HIGH
LOW
HIGH
TxCN LOW
CLEAR
TIME
OCCUR INTERRUPT
Figure 20. Timer Count Operation
31
 

Share Link: 

datasheetbank.com [ Privacy Policy ] [ Request Datasheet ] [ Contact Us ]