mg84fl54 Megawin Technology, mg84fl54 Datasheet - Page 32

no-image

mg84fl54

Manufacturer Part Number
mg84fl54
Description
Full-speed Usb Micro-controller
Manufacturer
Megawin Technology
Datasheet
11.1.2. Mode 1: 16-bit Counter
Mode 1 is the same as Mode 0, except that the Timer register uses all 16 bits. Refer to Fig 11-2. In this mode,
THx and TLx are cascaded; there is no prescaler.
Fig 11-2 Mode 1: 16-bit Counter
11.1.3. Mode 2: 8-bit Auto-reload
Mode 2 configures the Timer register as an 8-bit Counter (TLx) with automatic reload, as shown in Fig 11-3..
Overflow from TLx not only sets TFx, but also reloads TLx with the contents of THx, which is preset by firmware.
The reload leaves THx unchanged.
Fig 11-3 Mode 2: 8-bit Auto-reload
32
SYSCLK
SYSCLK
SYSCLK
SYSCLK
12
12
/INTx Pin
/INTx Pin
Tx Pin
Tx Pin
GATE
GATE
TRx
TRx
AUXR2.TxX12=0
AUXR2.TxX12=0
AUXR2.TxX12=1
AUXR2.TxX12=1
C//T=0
C//T=1
C//T=0
C//T=1
MG84FL54B Data Sheet
THx[7:0]
TLx[7:0]
TLx[7:0]
THx[7:0]
Reload
Overflow
Overflow
TFx
TFx
x = 0 or 1
x = 0 or 1
Interrupt
Interrupt
MEGAWIN

Related parts for mg84fl54