mpc82g516a Megawin Technology, mpc82g516a Datasheet - Page 43

no-image

mpc82g516a

Manufacturer Part Number
mpc82g516a
Description
8-bit Microcontroller
Manufacturer
Megawin Technology
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mpc82g516aE
Manufacturer:
MEGAWIN
Quantity:
1 200
Part Number:
mpc82g516aF
Manufacturer:
MEGAWIN
Quantity:
20 000
11.1.4 Mode 3: Two 8-Bit Timer/Counters
Timer 1 in Mode 3 simply holds its count. The effect is the same as setting TR1=0.
Timer 0 in Mode 3 establishes TL0 and TH0 as two separate counters. The logic for Mode 3 on Timer 0 is shown
in Figure 11-4. TL0 uses the Timer 0 control bits: C/-T, GATE, TR0, /INT0, and TF0. TH0 is locked into a timer
function (counting machine cycles) and takes over the use of TR1 and TF1 from Timer 1. Thus TH0 now controls
the Timer 1 interrupt.
Mode 3 is provided for applications requiring an extra 8-bit timer or counter. When Timer 0 is in Mode 3, Timer 1
can be turned on and off by switching it out of and into its own Mode 3, or can still be used by the serial port as a
baud rate generator, or in any application not requiring an interrupt.
Figure 11-4. Timer 0 in Mode 3: Two 8-Bit Timer/Counters
43
* Fosc is the system clock.
/INT0 pin
Fosc
Fosc
GATE
T0 Pin
TR0
12
12
"0"
"1"
"0"
"1"
T0X12
T0X12
"0"
"1"
C/-T
MPC82G516A Data Sheet
TR1
(8 Bits)
(8 Bits)
TL0
TH0
Overflow
Overflow
TF0
TF1
Timer 0
Interrupt
Timer 1
Interrupt
MEGAWIN

Related parts for mpc82g516a