mg84fl54b Megawin Technology, mg84fl54b Datasheet - Page 23

no-image

mg84fl54b

Manufacturer Part Number
mg84fl54b
Description
Full-speed Usb Micro-controller
Manufacturer
Megawin Technology
Datasheet
10.1.4. Mode 3: Timer 0 as Two 8-bit Counter
Where OSC means Fosc, the system clock.
10.1.5. Programmable Clock Output from Timer 0
The user can get a 50% duty-cycle clock output on P3.4 by configuring Timer 0 as 8-bit auto-reload and setting
T0CKOE to “1”. Of course, the bit TR0 (TCON.4) must also be set to start the timer. For a 12 MHz system clock,
Timer 0 has a programmable output frequency range of 1953 Hz to 6 MHz.
The clock frequency is equal to (Timer 0 overflow rate / 2), that is
(Fosc is the system clock.)
MEGAWIN
Clock freq. =
where,
n=24 if T0X12=0
n=2 if T0X12=1
MG84FL54B Data sheet
n x (256-TH0)
Fosc
23

Related parts for mg84fl54b