English
Language : 

MA014B Datasheet, PDF (9/14 Pages) Megawin Technology Co., Ltd – Single chip 8-bit CPU
Timer0
Address
00E8H
00E9H
Name
TM0
TM0_CTL
Bit 7
T7
STC
Bit 6
T6
RL/S
Bit 5
T5
TKES
Bit 4
T4
-
Bit 3
T3
-
Bit 2
T2
-
Bit 1
T1
TKI1
Bit 0
T0
TKI0
RW


STC: Start/Stop counting. 1: start and pre-load the value to counter, 0: stop timer clock (set this bit to 1 will be
ignored when this bit already set to 1)
RL/S: Auto-reload disable/enable. 1: disable auto-reload, 0: enable auto-reload
TKES: Event or series input clock-in trigger edge selector; 0: rising edge, 1: falling edge
TKI1
0
0
1
1
TKI0
0
1
0
1
Selected TM0 input clock source
FOSC / 1
FOSC / 2
FOSC / 4
P0.7
Fosc / 1
Fosc / 2
Fosc / 4
P0.7
MUX
TM0_CTL.STC
TM0_CTL.TKI0
TM0_CTL.TKI1
TM0
TM0 re-load buffer (W)
TM0 (R)
reload
Control
Logic
TM0_CTL.6
TM0_CTL.7
TM0
Underflow
MEGAWIN
MA014B Series Technical Summary
9