mg84fl54b Megawin Technology, mg84fl54b Datasheet - Page 21

no-image

mg84fl54b

Manufacturer Part Number
mg84fl54b
Description
Full-speed Usb Micro-controller
Manufacturer
Megawin Technology
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 mg84fl54b