MG84FL54BD MEGAWIN [Megawin Technology Co., Ltd], MG84FL54BD Datasheet - Page 21

no-image

MG84FL54BD

Manufacturer Part Number
MG84FL54BD
Description
Full-Speed USB micro-controller
Manufacturer
MEGAWIN [Megawin Technology Co., Ltd]
Datasheet
10. Three 16-bit Timers
10.1. Timer 0 and Timer 1
After power-up or reset, the default function and operation of Timer 0 and Timer 1 is fully compatible with the
standard 8051 MCU. The only difference is that besides Fosc/12 the user can select an alternate clock source,
the Fosc. The bit-7 and bit-6 in AUXR2 provide this selection.
AUXR2 (Address=A6H, Auxiliary Register 2)
T0X12: Timer 0 clock source select while C/T=0.
T1X12: Timer 1 clock source select while C/T=0.
T0CKOE: Set to enable Timer 0 clock output on P3.4.
The following figures show the selection of alternate clock source for Timer 0 and Timer1.
10.1.1. Mode 0: 13-bit Counter
Where OSC means Fosc, the system clock.
MEGAWIN
T0X12
7
Set to select Fosc as the clock source, and clear to select Fosc/12.
Set to select Fosc as the clock source, and clear to select Fosc/12.
T1X12
6
URM0x6
5
4
-
MG84FL54B Data sheet
3
-
2
-
1
-
T0CKOE
0
21

Related parts for MG84FL54BD