mg84fl54b Megawin Technology, mg84fl54b Datasheet - Page 27

no-image

mg84fl54b

Manufacturer Part Number
mg84fl54b
Description
Full-speed Usb Micro-controller
Manufacturer
Megawin Technology
Datasheet
When DCEN =1 and in AR mode, Timer2 can be configured to count up or down . The counting direction is
determined by T2EX pin. If T2EX=1, counting up, otherwise counting down. An overflow on Timer2 will set TF2
and toggle EXF2. EXF2 can not generate interrupt request in auto-reload mode with DCEN=1. If the counting
direction is DOWN, Timer2 is loaded with 0xFFFF when the content of Timer2 equals to the values stored on
RCAP2H and RCAP2L. But if counting direction is UP, an overflow of timer2 loads RCAP2H,RCAP2L contents
onto Timer2.
MEGAWIN
Fosc/12
T2 pin
C/T2=0
C/T2=1
TR2
Timier2 in Auto Reload Mode
MG84FL54B Data sheet
RCAP2L
FFH
TL2
(DCEN=1)
RCAP2H
FFH
TH2
T2EX PIN
Count Direction
1 = UP
0 = DOWN
TF2
EXF2
interrupt
Timer2
27

Related parts for mg84fl54b